-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yaml
30 lines (30 loc) · 1022 Bytes
/
docker-compose.yaml
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
version: "3.9"
services:
postgres:
image: "postgres:latest"
ports:
- "${POSTGRES_PORT}:5432"
environment:
- "POSTGRES_USER=${POSTGRES_USER}"
- "POSTGRES_PASSWORD=${POSTGRES_PASSWORD}"
- "POSTGRES_DB=${POSTGRES_DB}"
restart: unless-stopped
reactroles:
image: zaptross/reactroles:test
links:
- "postgres:compose-postgres"
depends_on:
- postgres
environment:
- "DISCORD_TOKEN=${DISCORD_TOKEN}"
- "DISCORD_ROLECHANNEL=${DISCORD_ROLECHANNEL}"
- "DISCORD_ROLEMESSAGE=${DISCORD_ROLEMESSAGE}"
- "DISCORD_ROLEADDROLEID=${DISCORD_ROLEADDROLEID}"
- "DISCORD_ROLEREMOVEROLEID=${DISCORD_ROLEREMOVEROLEID}"
- "POSTGRES_USER=${POSTGRES_USER}"
- "POSTGRES_PASSWORD=${POSTGRES_PASSWORD}"
- "POSTGRES_DB=${POSTGRES_DB}"
- "POSTGRES_PORT=${POSTGRES_PORT}"
- "POSTGRES_HOST=compose-postgres"
- "POSTGRES_SSL=${POSTGRES_SSL}"
- "POSTGRES_TIMEZONE=${POSTGRES_TIMEZONE}"