2024-10-11 14:54:02 +01:00
|
|
|
version: '3.7'
|
|
|
|
|
|
|
|
services:
|
|
|
|
frontend:
|
2024-11-15 11:39:38 +00:00
|
|
|
image: git.fjla.uk/owlboard/owlboardsvelte:2024.11.4
|
2024-10-11 14:54:02 +01:00
|
|
|
ports:
|
|
|
|
- "8077:80"
|
|
|
|
deploy:
|
|
|
|
replicas: 1
|
|
|
|
update_config:
|
|
|
|
parallelism: 1
|
|
|
|
delay: 30s
|
|
|
|
order: start-first
|
|
|
|
failure_action: rollback
|
|
|
|
monitor: 60s
|
|
|
|
restart_policy:
|
|
|
|
condition: any
|
|
|
|
|
|
|
|
docs:
|
2024-11-15 11:44:29 +00:00
|
|
|
image: git.fjla.uk/owlboard/docs:2024.11.4
|
2024-10-11 14:54:02 +01:00
|
|
|
ports:
|
|
|
|
- "8070:80"
|
|
|
|
deploy:
|
|
|
|
replicas: 1
|
|
|
|
update_config:
|
|
|
|
parallelism: 1
|
|
|
|
delay: 30s
|
|
|
|
order: start-first
|
|
|
|
failure_action: rollback
|
|
|
|
monitor: 60s
|
|
|
|
restart_policy:
|
|
|
|
condition: any
|
|
|
|
|
|
|
|
timetable-mgr:
|
2024-11-22 21:03:34 +00:00
|
|
|
image: git.fjla.uk/owlboard/timetablemgr:2024.11.5-patch
|
2024-10-11 14:54:02 +01:00
|
|
|
deploy:
|
|
|
|
replicas: 1
|
|
|
|
update_config:
|
|
|
|
parallelism: 1
|
|
|
|
delay: 60s
|
|
|
|
order: stop-first
|
|
|
|
failure_action: rollback
|
|
|
|
monitor: 60s
|
|
|
|
rollback_config:
|
|
|
|
parallelism: 1
|
|
|
|
delay: 60s
|
|
|
|
order: stop-first
|
|
|
|
restart_policy:
|
|
|
|
condition: any
|
|
|
|
environment:
|
|
|
|
OWL_DB_USER: ${OWL_DB_USER}
|
|
|
|
OWL_DB_PASS: ${OWL_DB_PASS}
|
|
|
|
OWL_DB_HOST: ${OWL_DB_HOST}
|
|
|
|
OWL_DB_PORT: ${OWL_DB_PORT}
|
|
|
|
OWL_NROD_USER: ${OWL_NROD_USER}
|
|
|
|
OWL_NROD_PASS: ${OWL_NROD_PASS}
|
|
|
|
|
|
|
|
backend:
|
2024-11-22 21:10:15 +00:00
|
|
|
image: git.fjla.uk/owlboard/backend:2024.11.2-patch
|
2024-10-11 14:54:02 +01:00
|
|
|
deploy:
|
|
|
|
replicas: 1
|
|
|
|
update_config:
|
|
|
|
parallelism: 2
|
|
|
|
delay: 60s
|
|
|
|
order: start-first
|
|
|
|
failure_action: rollback
|
|
|
|
monitor: 60s
|
|
|
|
restart_policy:
|
|
|
|
condition: any
|
|
|
|
environment:
|
|
|
|
OWL_DB_USER: ${OWL_DB_USER}
|
|
|
|
OWL_DB_PASS: ${OWL_DB_PASS}
|
|
|
|
OWL_DB_HOST: ${OWL_DB_HOST}
|
|
|
|
OWL_DB_PORT: ${OWL_DB_PORT}
|
|
|
|
OWL_NROD_USER: ${OWL_NROD_USER}
|
|
|
|
OWL_NROD_PASS: ${OWL_NROD_PASS}
|
2024-10-12 20:16:46 +01:00
|
|
|
OWL_LDB_KEY: ${OWL_LDB_KEY}
|
|
|
|
OWL_LDB_SVKEY: ${OWL_LDBSV_KEY}
|
|
|
|
OWL_GIT_ISSUEBOT: ${OWL_GITEA_APIKEY}
|
|
|
|
OWL_GIT_APIENDPOINT: ${OWL_GITEA_URL}
|
|
|
|
OWL_EML_FROM: ${OWL_EML_FROM}
|
|
|
|
OWL_EML_HOST: ${OWL_EML_HOST}
|
|
|
|
OWL_EML_USER: ${OWL_EML_USER}
|
|
|
|
OWL_EML_PASS: ${OWL_EML_PASS}
|
2024-10-12 20:47:08 +01:00
|
|
|
OWL_EML_PORT: ${OWL_EML_PORT}
|
|
|
|
NODE_ENV: production
|
|
|
|
TZ: Europe/London
|