mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Change Docker Compose image names and add comments wy
This commit is contained in:
parent
45013efd8d
commit
b7c49b2410
@ -1,11 +1,13 @@
|
|||||||
version: "3.4"
|
version: "3.4"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
# FRONTEND #############################################
|
# FRONTEND #############################################
|
||||||
########################################################
|
########################################################
|
||||||
frontend:
|
frontend:
|
||||||
# image: gradido/frontend:development
|
# 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: gradido/frontend:local-development
|
||||||
build:
|
build:
|
||||||
target: development
|
target: development
|
||||||
environment:
|
environment:
|
||||||
@ -22,7 +24,8 @@ services:
|
|||||||
# ADMIN INTERFACE ######################################
|
# ADMIN INTERFACE ######################################
|
||||||
########################################################
|
########################################################
|
||||||
admin:
|
admin:
|
||||||
# image: gradido/admin:development
|
# 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: gradido/admin:local-development
|
||||||
build:
|
build:
|
||||||
target: development
|
target: development
|
||||||
environment:
|
environment:
|
||||||
@ -39,7 +42,8 @@ services:
|
|||||||
# BACKEND ##############################################
|
# BACKEND ##############################################
|
||||||
########################################################
|
########################################################
|
||||||
backend:
|
backend:
|
||||||
# image: gradido/backend:development
|
# 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: gradido/backend:local-development
|
||||||
build:
|
build:
|
||||||
target: development
|
target: development
|
||||||
networks:
|
networks:
|
||||||
@ -62,10 +66,11 @@ services:
|
|||||||
########################################################
|
########################################################
|
||||||
database:
|
database:
|
||||||
# we always run on production here since else the service lingers
|
# we always run on production here since else the service lingers
|
||||||
# feel free to change this behaviour if it seems useful
|
# feel free to change this behaviour if it seems useful
|
||||||
# Due to problems with the volume caching the built files
|
# Due to problems with the volume caching the built files
|
||||||
# we changed this to test build. This keeps the service running.
|
# we changed this to test build. This keeps the service running.
|
||||||
# image: gradido/database:test_up
|
# 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: gradido/database:local-test_up
|
||||||
build:
|
build:
|
||||||
target: test_up
|
target: test_up
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
@ -6,6 +6,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: gradido/backend:test
|
image: gradido/backend:test
|
||||||
build:
|
build:
|
||||||
target: test
|
target: test
|
||||||
|
|||||||
@ -6,11 +6,13 @@
|
|||||||
version: "3.4"
|
version: "3.4"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
# FRONTEND #############################################
|
# FRONTEND #############################################
|
||||||
########################################################
|
########################################################
|
||||||
frontend:
|
frontend:
|
||||||
# image: gradido/frontend:latest
|
# 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: gradido/frontend:local-production
|
||||||
build:
|
build:
|
||||||
context: ./frontend
|
context: ./frontend
|
||||||
target: production
|
target: production
|
||||||
@ -35,7 +37,8 @@ services:
|
|||||||
# ADMIN INTERFACE ######################################
|
# ADMIN INTERFACE ######################################
|
||||||
########################################################
|
########################################################
|
||||||
admin:
|
admin:
|
||||||
# image: gradido/admin:latest
|
# 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: gradido/admin:local-production
|
||||||
build:
|
build:
|
||||||
context: ./admin
|
context: ./admin
|
||||||
target: production
|
target: production
|
||||||
@ -77,7 +80,8 @@ services:
|
|||||||
# BACKEND ##############################################
|
# BACKEND ##############################################
|
||||||
########################################################
|
########################################################
|
||||||
backend:
|
backend:
|
||||||
# image: gradido/backend:latest
|
# 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: gradido/backend:local-production
|
||||||
build:
|
build:
|
||||||
# since we have to include the entities from ./database we cannot define the context as ./backend
|
# since we have to include the entities from ./database we cannot define the context as ./backend
|
||||||
# this might blow build image size to the moon ?!
|
# this might blow build image size to the moon ?!
|
||||||
@ -108,7 +112,8 @@ services:
|
|||||||
# DATABASE #############################################
|
# DATABASE #############################################
|
||||||
########################################################
|
########################################################
|
||||||
database:
|
database:
|
||||||
#image: gradido/database:production_up
|
# 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: gradido/database:local-production_up
|
||||||
build:
|
build:
|
||||||
context: ./database
|
context: ./database
|
||||||
target: production_up
|
target: production_up
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user