mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Add comments for Docker image naming
This commit is contained in:
parent
2f3f37c158
commit
bc97b1db0c
@ -1,6 +1,7 @@
|
|||||||
version: "3.4"
|
version: "3.4"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
# WEBAPP ###############################################
|
# WEBAPP ###############################################
|
||||||
########################################################
|
########################################################
|
||||||
|
|||||||
@ -1,10 +1,12 @@
|
|||||||
version: "3.4"
|
version: "3.4"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
# WEBAPP ###############################################
|
# WEBAPP ###############################################
|
||||||
########################################################
|
########################################################
|
||||||
webapp:
|
webapp:
|
||||||
|
# name the image so that it cannot be found in a DockerHub repository, otherwise it will not be built locally from the 'dockerfile' but pulled from there
|
||||||
image: ocelotsocialnetwork/webapp:local-development
|
image: ocelotsocialnetwork/webapp:local-development
|
||||||
build:
|
build:
|
||||||
target: development
|
target: development
|
||||||
@ -23,6 +25,7 @@ services:
|
|||||||
# BACKEND ##############################################
|
# BACKEND ##############################################
|
||||||
########################################################
|
########################################################
|
||||||
backend:
|
backend:
|
||||||
|
# name the image so that it cannot be found in a DockerHub repository, otherwise it will not be built locally from the 'dockerfile' but pulled from there
|
||||||
image: ocelotsocialnetwork/backend:local-development
|
image: ocelotsocialnetwork/backend:local-development
|
||||||
build:
|
build:
|
||||||
target: development
|
target: development
|
||||||
@ -40,6 +43,7 @@ services:
|
|||||||
# NEO4J ################################################
|
# NEO4J ################################################
|
||||||
########################################################
|
########################################################
|
||||||
neo4j:
|
neo4j:
|
||||||
|
# name the image so that it cannot be found in a DockerHub repository, otherwise it will not be built locally from the 'dockerfile' but pulled from there
|
||||||
image: ocelotsocialnetwork/neo4j:local-development
|
image: ocelotsocialnetwork/neo4j:local-development
|
||||||
ports:
|
ports:
|
||||||
# Also expose the neo4j query browser
|
# Also expose the neo4j query browser
|
||||||
@ -52,6 +56,7 @@ services:
|
|||||||
# MAINTENANCE ##########################################
|
# MAINTENANCE ##########################################
|
||||||
########################################################
|
########################################################
|
||||||
maintenance:
|
maintenance:
|
||||||
|
# name the image so that it cannot be found in a DockerHub repository, otherwise it will not be built locally from the 'dockerfile' but pulled from there
|
||||||
image: ocelotsocialnetwork/maintenance:local-development
|
image: ocelotsocialnetwork/maintenance:local-development
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
|
|||||||
@ -1,10 +1,12 @@
|
|||||||
version: "3.4"
|
version: "3.4"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
# WEBAPP ###############################################
|
# WEBAPP ###############################################
|
||||||
########################################################
|
########################################################
|
||||||
webapp:
|
webapp:
|
||||||
|
# name the image so that it cannot be found in a DockerHub repository, otherwise it will not be built locally from the 'dockerfile' but pulled from there
|
||||||
image: ocelotsocialnetwork/webapp:test
|
image: ocelotsocialnetwork/webapp:test
|
||||||
build:
|
build:
|
||||||
target: test
|
target: test
|
||||||
@ -12,10 +14,12 @@ services:
|
|||||||
- NODE_ENV="test"
|
- NODE_ENV="test"
|
||||||
volumes:
|
volumes:
|
||||||
- ./coverage:/app/coverage
|
- ./coverage:/app/coverage
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
# BACKEND ##############################################
|
# BACKEND ##############################################
|
||||||
########################################################
|
########################################################
|
||||||
backend:
|
backend:
|
||||||
|
# name the image so that it cannot be found in a DockerHub repository, otherwise it will not be built locally from the 'dockerfile' but pulled from there
|
||||||
image: ocelotsocialnetwork/backend:test
|
image: ocelotsocialnetwork/backend:test
|
||||||
build:
|
build:
|
||||||
target: test
|
target: test
|
||||||
@ -23,10 +27,12 @@ services:
|
|||||||
- NODE_ENV="test"
|
- NODE_ENV="test"
|
||||||
volumes:
|
volumes:
|
||||||
- ./coverage:/app/coverage
|
- ./coverage:/app/coverage
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
# NEO4J ################################################
|
# NEO4J ################################################
|
||||||
########################################################
|
########################################################
|
||||||
neo4j:
|
neo4j:
|
||||||
|
# name the image so that it cannot be found in a DockerHub repository, otherwise it will not be built locally from the 'dockerfile' but pulled from there
|
||||||
image: ocelotsocialnetwork/neo4j:community
|
image: ocelotsocialnetwork/neo4j:community
|
||||||
#environment:
|
#environment:
|
||||||
# - NEO4J_dbms_connector_bolt_enabled=true
|
# - NEO4J_dbms_connector_bolt_enabled=true
|
||||||
@ -39,11 +45,14 @@ services:
|
|||||||
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:
|
||||||
|
# name the image so that it cannot be found in a DockerHub repository, otherwise it will not be built locally from the 'dockerfile' but pulled from there
|
||||||
image: ocelotsocialnetwork/maintenance:test
|
image: ocelotsocialnetwork/maintenance:test
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
# MAILSERVER TO FAKE SMTP ##############################
|
# MAILSERVER TO FAKE SMTP ##############################
|
||||||
########################################################
|
########################################################
|
||||||
|
|||||||
@ -6,10 +6,12 @@
|
|||||||
version: "3.4"
|
version: "3.4"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
# WEBAPP ###############################################
|
# WEBAPP ###############################################
|
||||||
########################################################
|
########################################################
|
||||||
webapp:
|
webapp:
|
||||||
|
# name the image so that it cannot be found in a DockerHub repository, otherwise it will not be built locally from the 'dockerfile' but pulled from there
|
||||||
image: ocelotsocialnetwork/webapp:local-production
|
image: ocelotsocialnetwork/webapp:local-production
|
||||||
build:
|
build:
|
||||||
context: ./webapp
|
context: ./webapp
|
||||||
@ -40,6 +42,7 @@ services:
|
|||||||
# BACKEND ##############################################
|
# BACKEND ##############################################
|
||||||
########################################################
|
########################################################
|
||||||
backend:
|
backend:
|
||||||
|
# name the image so that it cannot be found in a DockerHub repository, otherwise it will not be built locally from the 'dockerfile' but pulled from there
|
||||||
image: ocelotsocialnetwork/backend:local-production
|
image: ocelotsocialnetwork/backend:local-production
|
||||||
build:
|
build:
|
||||||
context: ./backend
|
context: ./backend
|
||||||
@ -73,6 +76,7 @@ services:
|
|||||||
# NEO4J ################################################
|
# NEO4J ################################################
|
||||||
########################################################
|
########################################################
|
||||||
neo4j:
|
neo4j:
|
||||||
|
# name the image so that it cannot be found in a DockerHub repository, otherwise it will not be built locally from the 'dockerfile' but pulled from there
|
||||||
image: ocelotsocialnetwork/neo4j:local-production
|
image: ocelotsocialnetwork/neo4j:local-production
|
||||||
build:
|
build:
|
||||||
context: ./neo4j
|
context: ./neo4j
|
||||||
@ -97,6 +101,7 @@ services:
|
|||||||
# MAINTENANCE ##########################################
|
# MAINTENANCE ##########################################
|
||||||
########################################################
|
########################################################
|
||||||
maintenance:
|
maintenance:
|
||||||
|
# name the image so that it cannot be found in a DockerHub repository, otherwise it will not be built locally from the 'dockerfile' but pulled from there
|
||||||
image: ocelotsocialnetwork/maintenance:local-production
|
image: ocelotsocialnetwork/maintenance:local-production
|
||||||
build:
|
build:
|
||||||
# TODO: Separate from webapp, this must be independent
|
# TODO: Separate from webapp, this must be independent
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user