-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathcompose.yaml
More file actions
43 lines (41 loc) · 996 Bytes
/
compose.yaml
File metadata and controls
43 lines (41 loc) · 996 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
services:
bot:
build:
context: .
dockerfile: docker/Dockerfile.local
container_name: glados-bot
image: sourcewarelab/glados:latest
pull_policy: never
ports:
- "9229:9229"
environment:
- TOKEN=${TOKEN}
- CLIENT_ID=${CLIENT_ID}
- GUILD_ID=${GUILD_ID}
- DB_USERNAME=postgres
- DB_PASSWORD=postgres
- DB_NAME=glados-local-db
- DB_HOSTNAME=db
- DB_PORT=5432
- WELCOME_CHANNEL_ID=${WELCOME_CHANNEL_ID}
- NEWCOMER_ROLE_ID=${NEWCOMER_ROLE_ID}
volumes:
- .:/app
- node_modules:/app/node_modules
depends_on:
- db
restart: unless-stopped
db:
container_name: glados-local-db
image: postgres:17.3
environment:
- POSTGRES_DB=glados-local-db
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
volumes:
- glados-local-db-data:/var/lib/postgresql/data
ports:
- "5432:5432"
volumes:
glados-local-db-data:
node_modules: