mirror of
https://github.com/opf/openproject-deploy.git
synced 2026-02-14 16:59:51 +00:00
* parameterise opdata & pgdata * postgres pwd var * pwd quotes * postgress password variable rename Co-authored-by: RichardJActon <richardjacton@uni-koeln.de>
52 lines
1.1 KiB
YAML
52 lines
1.1 KiB
YAML
version: "3.7"
|
|
|
|
volumes:
|
|
pgupgrade:
|
|
|
|
services:
|
|
db:
|
|
restart: "no"
|
|
entrypoint: ["echo", "disabled"]
|
|
upgrade:
|
|
restart: "no"
|
|
build:
|
|
context: ./control
|
|
environment:
|
|
PGDATA: /var/lib/postgresql/data
|
|
volumes:
|
|
- "${PGDATA:-pgdata}:/var/lib/postgresql/data"
|
|
- "./control:/control"
|
|
entrypoint: ["/control/upgrade/entrypoint.sh"]
|
|
backup:
|
|
restart: "no"
|
|
build:
|
|
context: ./control
|
|
environment:
|
|
PGDATA: /var/lib/postgresql/data
|
|
OPDATA: /var/openproject/assets
|
|
volumes:
|
|
- "${PGDATA:-pgdata}:/var/lib/postgresql/data"
|
|
- "${OPDATA:-opdata}:/var/openproject/assets"
|
|
- "./backups:/backups"
|
|
- "./control:/control"
|
|
entrypoint: ["/control/backup/entrypoint.sh"]
|
|
web:
|
|
restart: "no"
|
|
entrypoint: ["echo", "disabled"]
|
|
worker:
|
|
restart: "no"
|
|
entrypoint: ["echo", "disabled"]
|
|
cron:
|
|
restart: "no"
|
|
entrypoint: ["echo", "disabled"]
|
|
seeder:
|
|
restart: "no"
|
|
entrypoint: ["echo", "disabled"]
|
|
proxy:
|
|
restart: "no"
|
|
entrypoint: ["echo", "disabled"]
|
|
cache:
|
|
restart: "no"
|
|
entrypoint: ["echo", "disabled"]
|
|
|