-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
84 lines (79 loc) · 1.67 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
version: "3"
services:
video-streamer:
image: orovium/ab-video-streamer
build:
context: ./video-streamer
dockerfile: Dockerfile
target: dev
container_name: video-streamer
volumes:
- ./video-streamer:/app
ports:
- "1434:80"
environment:
- PORT=80
env_file:
- ./video-streamer/.env
restart: "no"
storage-service:
image: orovium/ab-storage-service
build:
context: ./storage/azure
dockerfile: Dockerfile
target: dev
container_name: storage-service
volumes:
- ./storage/azure:/app
ports:
- "1435:80"
environment:
- PORT=80
env_file:
- ./storage/azure/.env
caddy:
image: orovium/caddy
container_name: ab-caddy
build:
context: ./caddy
dockerfile: Dockerfile
restart: "unless-stopped"
ports:
- "80:80"
- "443:443"
- "443:443/udp"
volumes:
- caddy_data:/data
- caddy_config:/config
env_file:
- ./caddy/.env
postgres:
container_name: ab-postgres
image: postgres
environment:
POSTGRES_USER: ${POSTGRES_USER:-truman}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-capote}
PGDATA: /data/postgres
volumes:
- postgres:/data/postgres
ports:
- "5432:5432"
restart: unless-stopped
logging:
driver: ${POSTGRES_LOG_DRIVER:-none}
rabbit:
container_name: ab-rabbit
image: rabbitmq:3-management
ports:
- "5672:5672"
- "15672:15672"
restart: unless-stopped
logging:
driver: ${RABBIT_LOG_DRIVER:-none}
volumes:
caddy_data:
driver: local
caddy_config:
driver: local
postgres:
driver: local