mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
61 lines
1.9 KiB
YAML
61 lines
1.9 KiB
YAML
version: "3.4"
|
|
|
|
services:
|
|
########################################################
|
|
# FRONTEND #############################################
|
|
########################################################
|
|
frontend:
|
|
image: gradido/frontend:development
|
|
build:
|
|
target: development
|
|
environment:
|
|
- NODE_ENV="development"
|
|
# - DEBUG=true
|
|
- NUXT_BUILD=/tmp/nuxt # avoid file permission issues when `rm -rf .nuxt/`
|
|
volumes:
|
|
# 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
|
|
- frontend_node_modules:/app/node_modules
|
|
# bind the local folder to the docker to allow live reload
|
|
- ./frontend:/app
|
|
|
|
|
|
|
|
########################################################
|
|
# BACKEND ##############################################
|
|
########################################################
|
|
## login server
|
|
login-server:
|
|
build:
|
|
context: ./login_server/
|
|
target: login_server_debug
|
|
security_opt:
|
|
- seccomp:unconfined
|
|
#cap-add:SYS_PTRACE
|
|
depends_on:
|
|
- mariadb
|
|
networks:
|
|
- internal-net
|
|
ports:
|
|
- 1200:1200
|
|
- 1201:1201
|
|
volumes:
|
|
- ./configs/login_server:/etc/grd_login
|
|
- ./logs:/var/log/grd_login
|
|
# image: ocelotsocialnetwork/backend:development
|
|
# build:
|
|
# target: development
|
|
# environment:
|
|
# - NODE_ENV="development"
|
|
# - DEBUG=true
|
|
# volumes:
|
|
# # 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
|
|
# - backend_node_modules:/app/node_modules
|
|
# # bind the local folder to the docker to allow live reload
|
|
# - ./backend:/app
|
|
|
|
|
|
volumes:
|
|
frontend_node_modules:
|
|
# backend_node_modules: |