mirror of
https://github.com/opf/openproject-deploy.git
synced 2026-02-14 16:59:51 +00:00
Move compose to the root, update docs and unify control (#93)
This commit is contained in:
51
docker-compose.control.yml
Normal file
51
docker-compose.control.yml
Normal file
@@ -0,0 +1,51 @@
|
||||
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"]
|
||||
|
||||
Reference in New Issue
Block a user