forked from benawad/dogehouse
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
68 lines (61 loc) · 1.6 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
version: "3"
# service_name:
# build:
# context: .
# dockerfile: path/to/Dockerfile
# restart: unless-stopped
# labels:
# tv.dogehouse.description: "Service Description"
# depends_on:
# - deps
#
# We will be making use of docker-compose overloads, so be sure to check the other compose files before reporting a missing field
# On local the containers will be built locally and tagged, able to be published.
# On prod the compose file will pull from the docker registry
services:
rabbitmq:
image: rabbitmq:3-management-alpine
restart: unless-stopped
labels:
tv.dogehouse.description: "RabbitMQ broker"
volumes:
- ./.docker/rabbitmq/data/:/var/lib/rabbitmq/
- ./.docker/rabbitmq/logs/:/var/log/rabbitmq/
ports:
- 5672:5672
- 15672:15672
healthcheck:
test: ['CMD', 'rabbitmq-diagnostics', '-q', 'ping']
interval: 60s
timeout: 5s
shawarma:
restart: unless-stopped
labels:
tv.dogehouse.description: "Voice Server Service"
depends_on:
- kousa
kousa:
restart: unless-stopped
labels:
tv.dogehouse.description: "Backend Service"
depends_on:
- postgres
- rabbitmq
postgres:
image: postgres:13-alpine
restart: unless-stopped
labels:
tv.dogehouse.description: "Postgres Database"
volumes:
- ./.docker/postgres:/var/lib/postgresql/data
ports:
- 5432:5432
adminer:
image: adminer
restart: unless-stopped
ports:
- 8080:8080
labels:
tv.dogehouse.description: "Adminer Database"
depends_on:
- postgres