- override all image names for development

- structuring comment for service blocks
This commit is contained in:
Ulf Gebhardt 2021-01-19 17:25:45 +01:00
parent b25af045db
commit a662fed961
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -1,6 +1,9 @@
version: "3.4"
services:
########################################################
# WEBAPP ###############################################
########################################################
webapp:
image: ocelotsocialnetwork/webapp:development
build:
@ -16,8 +19,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/develop-backend:development
image: ocelotsocialnetwork/backend:development
build:
target: development
environment:
@ -29,22 +36,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
ports:
# Also expose the playground
- 7474:7474
networks:
# So we can access the playground from our host machine
- external-net
########################################################
# MAINTENANCE ##########################################
########################################################
maintenance:
image: ocelotsocialnetwork/develop-maintenance:latest
build:
context: webapp
dockerfile: Dockerfile.maintenance
networks:
- external-net
ports:
- 3503:80
image: ocelotsocialnetwork/maintenance:development
mailserver:
image: djfarrelly/maildev
ports: