-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (40 loc) · 924 Bytes
/
docker-compose.yml
File metadata and controls
42 lines (40 loc) · 924 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
services:
digittron:
container_name: digittron
image: ghcr.io/secondubly/digittron:latest
build:
context: .
dockerfile: Dockerfile
depends_on:
redis:
condition: service_started
restart: unless-stopped
ports:
- "${WEB_PORT:-5000}:5000"
- "${API_PORT:-4000}:4000"
environment:
# Twitch
- CLIENT_ID=${CLIENT_ID}
- BOT_ID=${BOT_ID}
- TWITCH_ID=${TWITCH_ID}
- CHANNELS=${CHANNELS}
# Spotify
- SPOTIFY_CLIENT_ID=${SPOTIFY_CLIENT_ID}
# Redis Cache
- REDIS_HOST=${REDIS_HOST}
- REDIS_PORT=${REDIS_PORT}
# Web/API
- WEB_PORT=${WEB_PORT:-5000}
- API_PORT=${API_PORT:-4000}
volumes:
- ./db/:/usr/src/app/db
env_file:
- ./.env
redis:
container_name: redis
image: redis:8.2.1
restart: unless-stopped
ports:
- "6379:6379"
volumes:
redis_data: