mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
- override all image names for development
- structuring comment for service blocks
This commit is contained in:
parent
b25af045db
commit
a662fed961
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user