-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (41 loc) · 909 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (41 loc) · 909 Bytes
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
services:
redis:
image: redis:7-alpine
container_name: synapse_redis
command: redis-server /usr/local/etc/redis/redis.conf
volumes:
- ./redis/redis.conf:/usr/local/etc/redis/redis.conf
ports:
- "6379:6379"
networks:
- synapse-network
discord_bot:
build:
context: ./discord
dockerfile: Dockerfile
image: synapsebot/discord_bot:latest
container_name: synapse_discord_bot
restart: on-failure
depends_on:
- redis
env_file:
- ./.env
networks:
- synapse-network
twitch_app:
build:
context: ./twitch
dockerfile: Dockerfile
image: synapsebot/twitch_app:latest
container_name: synapse_twitch_app
restart: on-failure
depends_on:
- redis
- discord_bot
env_file:
- ./.env
networks:
- synapse-network
networks:
synapse-network:
driver: bridge