Created role docker-compose and refactored attendize, akauntin, openproject

This commit is contained in:
2023-12-30 15:22:18 +01:00
parent 3181ce3def
commit f70a7690a8
18 changed files with 122 additions and 146 deletions

View File

@@ -21,7 +21,7 @@ x-op-app: &app
RAILS_CACHE_STORE: "memcache"
OPENPROJECT_CACHE__MEMCACHE__SERVER: "cache:11211"
OPENPROJECT_RAILS__RELATIVE__URL__ROOT: "${OPENPROJECT_RAILS__RELATIVE__URL__ROOT:-}"
DATABASE_URL: "${DATABASE_URL:-postgres://postgres:p4ssw0rd@db/openproject?pool=20&encoding=unicode&reconnect=true}"
DATABASE_URL: "${DATABASE_URL}"
RAILS_MIN_THREADS: ${RAILS_MIN_THREADS:-4}
RAILS_MAX_THREADS: ${RAILS_MAX_THREADS:-16}
# set to true to enable the email receiving feature. See ./docker/cron for more options
@@ -31,7 +31,7 @@ x-op-app: &app
- "${PGDATA}:/var/openproject/pgdata"
services:
db:
database:
image: postgres:13
<<: *restart_policy
stop_grace_period: "3s"
@@ -72,7 +72,7 @@ services:
- frontend
- backend
depends_on:
- db
- database
- cache
- seeder
labels:
@@ -99,7 +99,7 @@ services:
networks:
- backend
depends_on:
- db
- database
- cache
- seeder
@@ -109,7 +109,7 @@ services:
networks:
- backend
depends_on:
- db
- database
- cache
- seeder