-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
27 lines (26 loc) · 848 Bytes
/
compose.yaml
File metadata and controls
27 lines (26 loc) · 848 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
services:
monerochad:
build:
context: .
dockerfile: Dockerfile
environment:
- DISCORD_API_TOKEN=Your Discord API bot token
- GUILD_IDS=Comma separated IDs of guilds the bot runs in
- NEWS_CHANNEL_IDS=Comma separated IDs of channels the bot relays news feeds to
- DEBUG_ADMIN_IDS=Comma separated IDS of users the bot will message when any error occurrs
- DB_URL=postgresql://user:pass@postgres:5432/monerochad
depends_on:
- postgres
restart: always
postgres:
image: postgres:alpine
environment:
- POSTGRES_USER=user
- POSTGRES_PASSWORD=pass
- POSTGRES_DB=monerochad
volumes:
- monerochad_postgres_data:/var/lib/postgresql/data
- ./schema.sql:/docker-entrypoint-initdb.d/schema.sql
restart: always
volumes:
monerochad_postgres_data: