-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
65 lines (61 loc) · 1.36 KB
/
docker-compose.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
61
62
63
64
65
version: "3.4"
services:
controller:
build:
context: ./deployer
restart: unless-stopped
env_file:
- .controller.env
environment:
- "CUID=${CUID}"
- "CGID=${CGID}"
ports:
- 3456:3000
networks:
- controller-network
privileged: true
volumes:
- controller_base:/controller
- ./controller/scripts/cron.d:/etc/cron.d
- "$DOCKER_BIN:/usr/bin/docker"
- /var/run/docker.sock:/var/run/docker.sock
nginx:
image: nginx:1.21
restart: unless-stopped
env_file:
- .controller.env
ports:
- 8900:80
networks:
- controller-network
volumes:
- controller_base:/controller
- "$PWD/images/nginx/nginx.conf:/etc/nginx/conf.d/default.conf"
rauthy:
image: krakaw/rauthy:latest
restart: unless-stopped
environment:
- LISTEN=0.0.0.0:3031
- BASIC_AUTH_MESSAGE="Rauthy says no"
- AUTH_FILE=/root/config/auth.json
volumes:
- rauthy_config:/root/config
networks:
- controller-network
ports:
- 3032:3031
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:3031/status" ]
interval: 30s
timeout: 10s
retries: 3
networks:
controller-network:
volumes:
rauthy_config:
controller_base:
driver: local
driver_opts:
type: none
device: $PWD
o: bind