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:
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 ##############################
########################################################

View File

@ -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