Remove image entries in 'docker-compose.yml' and 'docker-compose.override.yml'

This commit is contained in:
Wolfgang Huß 2022-07-13 10:02:18 +02:00
parent de8da7fb30
commit 04cd391a39
2 changed files with 16 additions and 9 deletions

View File

@ -5,7 +5,7 @@ services:
# WEBAPP ############################################### # WEBAPP ###############################################
######################################################## ########################################################
webapp: webapp:
image: ocelotsocialnetwork/webapp:development # image: ocelotsocialnetwork/webapp:development
build: build:
target: development target: development
environment: environment:
@ -18,11 +18,12 @@ services:
- webapp_node_modules:/app/node_modules - webapp_node_modules:/app/node_modules
# bind the local folder to the docker to allow live reload # bind the local folder to the docker to allow live reload
- ./webapp:/app - ./webapp:/app
######################################################## ########################################################
# BACKEND ############################################## # BACKEND ##############################################
######################################################## ########################################################
backend: backend:
image: ocelotsocialnetwork/backend:development # image: ocelotsocialnetwork/backend:development
build: build:
target: development target: development
environment: environment:
@ -34,22 +35,25 @@ services:
- backend_node_modules:/app/node_modules - backend_node_modules:/app/node_modules
# bind the local folder to the docker to allow live reload # bind the local folder to the docker to allow live reload
- ./backend:/app - ./backend:/app
######################################################## ########################################################
# NEO4J ################################################ # NEO4J ################################################
######################################################## ########################################################
neo4j: neo4j:
image: ocelotsocialnetwork/neo4j:development # image: ocelotsocialnetwork/neo4j:development
ports: ports:
# Also expose the neo4j query browser # Also expose the neo4j query browser
- 7474:7474 - 7474:7474
networks: networks:
# So we can access the neo4j query browser from our host machine # So we can access the neo4j query browser from our host machine
- external-net - external-net
######################################################## ########################################################
# MAINTENANCE ########################################## # MAINTENANCE ##########################################
######################################################## ########################################################
maintenance: # maintenance:
image: ocelotsocialnetwork/maintenance:development # image: ocelotsocialnetwork/maintenance:development
######################################################## ########################################################
# MAILSERVER TO FAKE SMTP ############################## # MAILSERVER TO FAKE SMTP ##############################
######################################################## ########################################################

View File

@ -10,7 +10,7 @@ services:
# WEBAPP ############################################### # WEBAPP ###############################################
######################################################## ########################################################
webapp: webapp:
image: ocelotsocialnetwork/webapp:latest # image: ocelotsocialnetwork/webapp:latest
build: build:
context: ./webapp context: ./webapp
target: production target: production
@ -35,11 +35,12 @@ services:
- GRAPHQL_URI=http://backend:4000 - GRAPHQL_URI=http://backend:4000
env_file: env_file:
- ./webapp/.env - ./webapp/.env
######################################################## ########################################################
# BACKEND ############################################## # BACKEND ##############################################
######################################################## ########################################################
backend: backend:
image: ocelotsocialnetwork/backend:latest # image: ocelotsocialnetwork/backend:latest
build: build:
context: ./backend context: ./backend
target: production target: production
@ -67,11 +68,12 @@ services:
- CLIENT_URI=http://webapp:3000 - CLIENT_URI=http://webapp:3000
env_file: env_file:
- ./backend/.env - ./backend/.env
######################################################## ########################################################
# NEO4J ################################################ # NEO4J ################################################
######################################################## ########################################################
neo4j: neo4j:
image: ocelotsocialnetwork/neo4j:latest # image: ocelotsocialnetwork/neo4j:latest
build: build:
context: ./neo4j context: ./neo4j
# community edition 👆🏼, because we have no enterprise licence 👇🏼 at the moment # 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 # TODO: clarify if that is the only thing needed to unlock the Enterprise version
# - NEO4J_ACCEPT_LICENSE_AGREEMENT=yes # - NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
# TODO: Remove the playground from production # TODO: Remove the playground from production
######################################################## ########################################################
# MAINTENANCE ########################################## # MAINTENANCE ##########################################
######################################################## ########################################################
maintenance: maintenance:
image: ocelotsocialnetwork/maintenance:latest # image: ocelotsocialnetwork/maintenance:latest
build: build:
# TODO: Separate from webapp, this must be independent # TODO: Separate from webapp, this must be independent
context: ./webapp context: ./webapp