From 04cd391a39c58560ac967c6da92a69876bf72fdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Wed, 13 Jul 2022 10:02:18 +0200 Subject: [PATCH] Remove image entries in 'docker-compose.yml' and 'docker-compose.override.yml' --- docker-compose.override.yml | 14 +++++++++----- docker-compose.yml | 11 +++++++---- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/docker-compose.override.yml b/docker-compose.override.yml index 15cf00e7a..e1ee25fd7 100644 --- a/docker-compose.override.yml +++ b/docker-compose.override.yml @@ -5,7 +5,7 @@ services: # WEBAPP ############################################### ######################################################## webapp: - image: ocelotsocialnetwork/webapp:development + # image: ocelotsocialnetwork/webapp:development build: target: development environment: @@ -18,11 +18,12 @@ services: - webapp_node_modules:/app/node_modules # bind the local folder to the docker to allow live reload - ./webapp:/app + ######################################################## # BACKEND ############################################## ######################################################## backend: - image: ocelotsocialnetwork/backend:development + # image: ocelotsocialnetwork/backend:development build: target: development environment: @@ -34,22 +35,25 @@ services: - backend_node_modules:/app/node_modules # bind the local folder to the docker to allow live reload - ./backend:/app + ######################################################## # NEO4J ################################################ ######################################################## neo4j: - image: ocelotsocialnetwork/neo4j:development + # image: ocelotsocialnetwork/neo4j:development ports: # Also expose the neo4j query browser - 7474:7474 networks: # So we can access the neo4j query browser from our host machine - external-net + ######################################################## # MAINTENANCE ########################################## ######################################################## - maintenance: - image: ocelotsocialnetwork/maintenance:development + # maintenance: + # image: ocelotsocialnetwork/maintenance:development + ######################################################## # MAILSERVER TO FAKE SMTP ############################## ######################################################## diff --git a/docker-compose.yml b/docker-compose.yml index d20bb6aec..f1baaf58c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,7 @@ services: # WEBAPP ############################################### ######################################################## webapp: - image: ocelotsocialnetwork/webapp:latest + # image: ocelotsocialnetwork/webapp:latest build: context: ./webapp target: production @@ -35,11 +35,12 @@ services: - GRAPHQL_URI=http://backend:4000 env_file: - ./webapp/.env + ######################################################## # BACKEND ############################################## ######################################################## backend: - image: ocelotsocialnetwork/backend:latest + # image: ocelotsocialnetwork/backend:latest build: context: ./backend target: production @@ -67,11 +68,12 @@ services: - CLIENT_URI=http://webapp:3000 env_file: - ./backend/.env + ######################################################## # NEO4J ################################################ ######################################################## neo4j: - image: ocelotsocialnetwork/neo4j:latest + # image: ocelotsocialnetwork/neo4j:latest build: context: ./neo4j # community edition 👆🏼, because we have no enterprise licence 👇🏼 at the moment @@ -90,11 +92,12 @@ services: # TODO: clarify if that is the only thing needed to unlock the Enterprise version # - NEO4J_ACCEPT_LICENSE_AGREEMENT=yes # TODO: Remove the playground from production + ######################################################## # MAINTENANCE ########################################## ######################################################## maintenance: - image: ocelotsocialnetwork/maintenance:latest + # image: ocelotsocialnetwork/maintenance:latest build: # TODO: Separate from webapp, this must be independent context: ./webapp