-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.live.yml
60 lines (55 loc) · 1.43 KB
/
docker-compose.live.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
51
52
53
54
55
56
57
58
59
60
version: '3'
networks:
web:
external: true
volumes:
storage:
services:
ausleihe:
image: ghcr.io/chaostreff-flensburg/simple-borrow:latest
restart: always
volumes:
- storage:/var/www/html/storage
labels:
- "traefik.enable=true"
- "traefik.http.routers.ausleihe.rule=Host(`ausleihe.chaostreff-flensburg.de`)"
- "traefik.http.routers.ausleihe.entrypoints=https,http"
- "traefik.http.services.ausleihe.loadbalancer.server.port=9000"
- "traefik.http.routers.ausleihe.tls.certresolver=mytlschallenge"
- "traefik.docker.network=web"
networks:
- web
env_file:
- .env
logging:
options:
max-size: "10m"
entrypoint: ["bash", "/var/www/html/docker/entrypoint.sh"]
command: ["bash", "/var/www/html/docker/startup.sh"]
schedule:
image: ghcr.io/chaostreff-flensburg/simple-borrow:latest
restart: always
tty: true
volumes:
- storage:/var/www/html/storage
depends_on:
- ausleihe
env_file:
- .env
logging:
options:
max-size: "10m"
command: ["bash", "/var/www/html/docker/schedule.sh"]
queue:
image: ghcr.io/chaostreff-flensburg/simple-borrow:latest
restart: always
depends_on:
- ausleihe
volumes:
- storage:/var/www/html/storage
env_file:
- .env
logging:
options:
max-size: "10m"
command: ["bash", "/var/www/html/docker/queue.sh"]