mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fix linebreaks
This commit is contained in:
parent
8f99a971ae
commit
e856c326eb
@ -1,166 +1,166 @@
|
|||||||
version: "3.4"
|
version: "3.4"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
########################################################
|
########################################################
|
||||||
# FRONTEND #############################################
|
# FRONTEND #############################################
|
||||||
########################################################
|
########################################################
|
||||||
frontend:
|
frontend:
|
||||||
image: gradido/frontend:development
|
image: gradido/frontend:development
|
||||||
build:
|
build:
|
||||||
target: development
|
target: development
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV="development"
|
- NODE_ENV="development"
|
||||||
# - DEBUG=true
|
# - DEBUG=true
|
||||||
volumes:
|
volumes:
|
||||||
# This makes sure the docker container has its own node modules.
|
# This makes sure the docker container has its own node modules.
|
||||||
# Therefore it is possible to have a different node version on the host machine
|
# Therefore it is possible to have a different node version on the host machine
|
||||||
- frontend_node_modules:/app/node_modules
|
- frontend_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
|
||||||
- ./frontend:/app
|
- ./frontend:/app
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
# ADMIN INTERFACE ######################################
|
# ADMIN INTERFACE ######################################
|
||||||
########################################################
|
########################################################
|
||||||
admin:
|
admin:
|
||||||
image: gradido/admin:development
|
image: gradido/admin:development
|
||||||
build:
|
build:
|
||||||
target: development
|
target: development
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV="development"
|
- NODE_ENV="development"
|
||||||
# - DEBUG=true
|
# - DEBUG=true
|
||||||
volumes:
|
volumes:
|
||||||
# This makes sure the docker container has its own node modules.
|
# This makes sure the docker container has its own node modules.
|
||||||
# Therefore it is possible to have a different node version on the host machine
|
# Therefore it is possible to have a different node version on the host machine
|
||||||
- admin_node_modules:/app/node_modules
|
- admin_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
|
||||||
- ./admin:/app
|
- ./admin:/app
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
# BACKEND ##############################################
|
# BACKEND ##############################################
|
||||||
########################################################
|
########################################################
|
||||||
backend:
|
backend:
|
||||||
image: gradido/backend:development
|
image: gradido/backend:development
|
||||||
build:
|
build:
|
||||||
target: development
|
target: development
|
||||||
networks:
|
networks:
|
||||||
- external-net
|
- external-net
|
||||||
- internal-net
|
- internal-net
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV="development"
|
- NODE_ENV="development"
|
||||||
volumes:
|
volumes:
|
||||||
# This makes sure the docker container has its own node modules.
|
# This makes sure the docker container has its own node modules.
|
||||||
# Therefore it is possible to have a different node version on the host machine
|
# Therefore it is possible to have a different node version on the host machine
|
||||||
- backend_node_modules:/app/node_modules
|
- backend_node_modules:/app/node_modules
|
||||||
- backend_database_node_modules:/database/node_modules
|
- backend_database_node_modules:/database/node_modules
|
||||||
- backend_database_build:/database/build
|
- backend_database_build:/database/build
|
||||||
# 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
|
||||||
- ./database:/database
|
- ./database:/database
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
# DATABASE ##############################################
|
# DATABASE ##############################################
|
||||||
########################################################
|
########################################################
|
||||||
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
|
image: gradido/database:test_up
|
||||||
build:
|
build:
|
||||||
target: test_up
|
target: test_up
|
||||||
#networks:
|
#networks:
|
||||||
# - external-net
|
# - external-net
|
||||||
# - internal-net
|
# - internal-net
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV="development"
|
- NODE_ENV="development"
|
||||||
volumes:
|
volumes:
|
||||||
# This makes sure the docker container has its own node modules.
|
# This makes sure the docker container has its own node modules.
|
||||||
# Therefore it is possible to have a different node version on the host machine
|
# Therefore it is possible to have a different node version on the host machine
|
||||||
- database_node_modules:/app/node_modules
|
- database_node_modules:/app/node_modules
|
||||||
- database_build:/app/build
|
- database_build:/app/build
|
||||||
# bind the local folder to the docker to allow live reload
|
# bind the local folder to the docker to allow live reload
|
||||||
- ./database:/app
|
- ./database:/app
|
||||||
|
|
||||||
#########################################################
|
#########################################################
|
||||||
## LOGIN SERVER #########################################
|
## LOGIN SERVER #########################################
|
||||||
#########################################################
|
#########################################################
|
||||||
login-server:
|
login-server:
|
||||||
build:
|
build:
|
||||||
dockerfile: Dockerfiles/ubuntu/Dockerfile.debug
|
dockerfile: Dockerfiles/ubuntu/Dockerfile.debug
|
||||||
networks:
|
networks:
|
||||||
- external-net
|
- external-net
|
||||||
- internal-net
|
- internal-net
|
||||||
security_opt:
|
security_opt:
|
||||||
- seccomp:unconfined
|
- seccomp:unconfined
|
||||||
cap_add:
|
cap_add:
|
||||||
- SYS_PTRACE
|
- SYS_PTRACE
|
||||||
volumes:
|
volumes:
|
||||||
- ./logs:/var/log/grd_login
|
- ./logs:/var/log/grd_login
|
||||||
- ./login_server/src:/code/src
|
- ./login_server/src:/code/src
|
||||||
- ./login_server/dependencies:/code/dependencies
|
- ./login_server/dependencies:/code/dependencies
|
||||||
- ./login_server/scripts:/code/scripts
|
- ./login_server/scripts:/code/scripts
|
||||||
- ./configs/login_server:/etc/grd_login
|
- ./configs/login_server:/etc/grd_login
|
||||||
- login_build_ubuntu_3.1:/code/build
|
- login_build_ubuntu_3.1:/code/build
|
||||||
|
|
||||||
|
|
||||||
#########################################################
|
#########################################################
|
||||||
## COMMUNITY SERVER (cakephp with php-fpm) ##############
|
## COMMUNITY SERVER (cakephp with php-fpm) ##############
|
||||||
#########################################################
|
#########################################################
|
||||||
community-server:
|
community-server:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
target: community_server
|
target: community_server
|
||||||
dockerfile: ./community_server/Dockerfile
|
dockerfile: ./community_server/Dockerfile
|
||||||
depends_on:
|
depends_on:
|
||||||
- mariadb
|
- mariadb
|
||||||
networks:
|
networks:
|
||||||
- internal-net
|
- internal-net
|
||||||
- external-net
|
- external-net
|
||||||
volumes:
|
volumes:
|
||||||
- ./community_server/config/php-fpm/php-ini-overrides.ini:/etc/php/7.4/fpm/conf.d/99-overrides.ini
|
- ./community_server/config/php-fpm/php-ini-overrides.ini:/etc/php/7.4/fpm/conf.d/99-overrides.ini
|
||||||
- ./community_server/src:/var/www/cakephp/src
|
- ./community_server/src:/var/www/cakephp/src
|
||||||
|
|
||||||
#########################################################
|
#########################################################
|
||||||
## MARIADB ##############################################
|
## MARIADB ##############################################
|
||||||
#########################################################
|
#########################################################
|
||||||
mariadb:
|
mariadb:
|
||||||
networks:
|
networks:
|
||||||
- internal-net
|
- internal-net
|
||||||
- external-net
|
- external-net
|
||||||
|
|
||||||
#########################################################
|
#########################################################
|
||||||
## NGINX ################################################
|
## NGINX ################################################
|
||||||
#########################################################
|
#########################################################
|
||||||
nginx:
|
nginx:
|
||||||
depends_on:
|
depends_on:
|
||||||
- frontend
|
- frontend
|
||||||
- community-server
|
- community-server
|
||||||
- login-server
|
- login-server
|
||||||
volumes:
|
volumes:
|
||||||
- ./logs/nginx:/var/log/nginx
|
- ./logs/nginx:/var/log/nginx
|
||||||
|
|
||||||
#########################################################
|
#########################################################
|
||||||
## PHPMYADMIN ###########################################
|
## PHPMYADMIN ###########################################
|
||||||
#########################################################
|
#########################################################
|
||||||
phpmyadmin:
|
phpmyadmin:
|
||||||
image: phpmyadmin
|
image: phpmyadmin
|
||||||
environment:
|
environment:
|
||||||
- PMA_ARBITRARY=1
|
- PMA_ARBITRARY=1
|
||||||
#restart: always
|
#restart: always
|
||||||
ports:
|
ports:
|
||||||
- 8074:80
|
- 8074:80
|
||||||
networks:
|
networks:
|
||||||
- internal-net
|
- internal-net
|
||||||
- external-net
|
- external-net
|
||||||
volumes:
|
volumes:
|
||||||
- /sessions
|
- /sessions
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
frontend_node_modules:
|
frontend_node_modules:
|
||||||
admin_node_modules:
|
admin_node_modules:
|
||||||
backend_node_modules:
|
backend_node_modules:
|
||||||
backend_database_node_modules:
|
backend_database_node_modules:
|
||||||
backend_database_build:
|
backend_database_build:
|
||||||
database_node_modules:
|
database_node_modules:
|
||||||
database_build:
|
database_build:
|
||||||
login_build_ubuntu_3.1:
|
login_build_ubuntu_3.1:
|
||||||
Loading…
x
Reference in New Issue
Block a user