mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +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"
|
version: "3.4"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
########################################################
|
||||||
|
# WEBAPP ###############################################
|
||||||
|
########################################################
|
||||||
webapp:
|
webapp:
|
||||||
image: ocelotsocialnetwork/webapp:development
|
image: ocelotsocialnetwork/webapp:development
|
||||||
build:
|
build:
|
||||||
@ -16,8 +19,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:
|
||||||
image: ocelotsocialnetwork/develop-backend:development
|
image: ocelotsocialnetwork/backend:development
|
||||||
build:
|
build:
|
||||||
target: development
|
target: development
|
||||||
environment:
|
environment:
|
||||||
@ -29,22 +36,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:
|
||||||
|
image: ocelotsocialnetwork/neo4j:development
|
||||||
ports:
|
ports:
|
||||||
# Also expose the playground
|
# Also expose the playground
|
||||||
- 7474:7474
|
- 7474:7474
|
||||||
networks:
|
networks:
|
||||||
# So we can access the playground from our host machine
|
# So we can access the playground from our host machine
|
||||||
- external-net
|
- external-net
|
||||||
|
|
||||||
|
########################################################
|
||||||
|
# MAINTENANCE ##########################################
|
||||||
|
########################################################
|
||||||
maintenance:
|
maintenance:
|
||||||
image: ocelotsocialnetwork/develop-maintenance:latest
|
image: ocelotsocialnetwork/maintenance:development
|
||||||
build:
|
|
||||||
context: webapp
|
|
||||||
dockerfile: Dockerfile.maintenance
|
|
||||||
networks:
|
|
||||||
- external-net
|
|
||||||
ports:
|
|
||||||
- 3503:80
|
|
||||||
mailserver:
|
mailserver:
|
||||||
image: djfarrelly/maildev
|
image: djfarrelly/maildev
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user