A discord bot for teal.fm
discord
tealfm
music
1services:
2 web:
3 container_name: web
4 restart: always
5 build:
6 context: .
7 dockerfile: Dockerfile.web
8 ports:
9 - 8002:8002
10 environment:
11 NODE_ENV: production
12
13 depends_on:
14 db:
15 condition: service_healthy
16 bot:
17 condition: service_started
18 tapper:
19 container_name: tapper
20 build:
21 context: .
22 dockerfile: Dockerfile.tap
23 environment:
24 NODE_ENV: production
25
26 depends_on:
27 db:
28 condition: service_healthy
29 bot:
30 container_name: bot
31 restart: always
32 build:
33 context: .
34 dockerfile: Dockerfile.bot
35 environment:
36 NODE_ENV: production
37
38 depends_on:
39 db:
40 condition: service_healthy
41 db:
42 image: postgres:18.1
43 healthcheck:
44 test: ["CMD-SHELL", "pg_isready -U postgres -d tealfmbotdb"]
45 interval: 10s
46 retries: 5
47 start_period: 30s
48 timeout: 10s
49 restart: always
50 shm_size: 128mb
51 env_file: .env
52 ports:
53 - 5432:5432