-
Notifications
You must be signed in to change notification settings - Fork 177
/
Copy pathdocker-compose.control.yml
51 lines (48 loc) · 1.12 KB
/
docker-compose.control.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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"]