-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
docker-compose.yml
49 lines (47 loc) · 1.01 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
services:
postgres:
image: postgres:latest
container_name: senchabot_postgres_db
ports:
- "${POSTGRES_DB_PORT:-5432}:5432"
volumes:
- senchabot-postgres-data:/var/lib/postgresql/data
env_file:
- ./.env
pgAdmin:
image: dpage/pgadmin4
container_name: pgAdmin
env_file:
- ./.env
ports:
- "${PGADMIN_PORT:-5050}:80"
twitch-bot:
container_name: senchabot_twitch_bot
build:
dockerfile: ./apps/twitch-bot/Dockerfile.dev
context: .
ports:
- "${TWITCH_BOT_PORT:-8084}:8080"
volumes:
- ./:/app
env_file:
- ./apps/twitch-bot/.env
depends_on:
- postgres
discord-bot:
container_name: senchabot_discord_bot
build:
dockerfile: ./apps/discord-bot/Dockerfile.dev
context: .
ports:
- "${DISCORD_BOT_PORT:-8088}:8080"
volumes:
- ./:/app
env_file:
- ./apps/discord-bot/.env
depends_on:
- postgres
volumes:
senchabot-postgres-data:
networks:
default: