diff --git a/docker-compose.apple-m1.override.yml b/docker-compose.apple-m1.override.yml index e5b8ddb9e..a91b3ab77 100644 --- a/docker-compose.apple-m1.override.yml +++ b/docker-compose.apple-m1.override.yml @@ -1,6 +1,7 @@ version: "3.4" services: + ######################################################## # WEBAPP ############################################### ######################################################## diff --git a/docker-compose.override.yml b/docker-compose.override.yml index fd9e6f41f..baf4bf89f 100644 --- a/docker-compose.override.yml +++ b/docker-compose.override.yml @@ -1,10 +1,12 @@ version: "3.4" services: + ######################################################## # WEBAPP ############################################### ######################################################## webapp: + # name the image so that it cannot be found in a DockerHub repository, otherwise it will not be built locally from the 'dockerfile' but pulled from there image: ocelotsocialnetwork/webapp:local-development build: target: development @@ -23,6 +25,7 @@ services: # BACKEND ############################################## ######################################################## backend: + # name the image so that it cannot be found in a DockerHub repository, otherwise it will not be built locally from the 'dockerfile' but pulled from there image: ocelotsocialnetwork/backend:local-development build: target: development @@ -40,6 +43,7 @@ services: # NEO4J ################################################ ######################################################## neo4j: + # name the image so that it cannot be found in a DockerHub repository, otherwise it will not be built locally from the 'dockerfile' but pulled from there image: ocelotsocialnetwork/neo4j:local-development ports: # Also expose the neo4j query browser @@ -52,6 +56,7 @@ services: # MAINTENANCE ########################################## ######################################################## maintenance: + # name the image so that it cannot be found in a DockerHub repository, otherwise it will not be built locally from the 'dockerfile' but pulled from there image: ocelotsocialnetwork/maintenance:local-development ######################################################## diff --git a/docker-compose.test.yml b/docker-compose.test.yml index 973cf87cf..843dd5ff8 100644 --- a/docker-compose.test.yml +++ b/docker-compose.test.yml @@ -1,10 +1,12 @@ version: "3.4" services: + ######################################################## # WEBAPP ############################################### ######################################################## webapp: + # name the image so that it cannot be found in a DockerHub repository, otherwise it will not be built locally from the 'dockerfile' but pulled from there image: ocelotsocialnetwork/webapp:test build: target: test @@ -12,10 +14,12 @@ services: - NODE_ENV="test" volumes: - ./coverage:/app/coverage + ######################################################## # BACKEND ############################################## ######################################################## backend: + # name the image so that it cannot be found in a DockerHub repository, otherwise it will not be built locally from the 'dockerfile' but pulled from there image: ocelotsocialnetwork/backend:test build: target: test @@ -23,10 +27,12 @@ services: - NODE_ENV="test" volumes: - ./coverage:/app/coverage + ######################################################## # NEO4J ################################################ ######################################################## neo4j: + # name the image so that it cannot be found in a DockerHub repository, otherwise it will not be built locally from the 'dockerfile' but pulled from there image: ocelotsocialnetwork/neo4j:community #environment: # - NEO4J_dbms_connector_bolt_enabled=true @@ -39,11 +45,14 @@ services: networks: # So we can access the neo4j query browser from our host machine - external-net + ######################################################## # MAINTENANCE ########################################## ######################################################## maintenance: + # name the image so that it cannot be found in a DockerHub repository, otherwise it will not be built locally from the 'dockerfile' but pulled from there image: ocelotsocialnetwork/maintenance:test + ######################################################## # MAILSERVER TO FAKE SMTP ############################## ######################################################## diff --git a/docker-compose.yml b/docker-compose.yml index d71a9e947..796489439 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,10 +6,12 @@ version: "3.4" services: + ######################################################## # WEBAPP ############################################### ######################################################## webapp: + # name the image so that it cannot be found in a DockerHub repository, otherwise it will not be built locally from the 'dockerfile' but pulled from there image: ocelotsocialnetwork/webapp:local-production build: context: ./webapp @@ -40,6 +42,7 @@ services: # BACKEND ############################################## ######################################################## backend: + # name the image so that it cannot be found in a DockerHub repository, otherwise it will not be built locally from the 'dockerfile' but pulled from there image: ocelotsocialnetwork/backend:local-production build: context: ./backend @@ -73,6 +76,7 @@ services: # NEO4J ################################################ ######################################################## neo4j: + # name the image so that it cannot be found in a DockerHub repository, otherwise it will not be built locally from the 'dockerfile' but pulled from there image: ocelotsocialnetwork/neo4j:local-production build: context: ./neo4j @@ -97,6 +101,7 @@ services: # MAINTENANCE ########################################## ######################################################## maintenance: + # name the image so that it cannot be found in a DockerHub repository, otherwise it will not be built locally from the 'dockerfile' but pulled from there image: ocelotsocialnetwork/maintenance:local-production build: # TODO: Separate from webapp, this must be independent