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 target: web
9 ports:
10 - 8002:8002
11
12 depends_on:
13 db:
14 condition: service_healthy
15 bot:
16 condition: service_started
17 tapper:
18 container_name: tapper
19 build:
20 context: .
21 dockerfile: Dockerfile
22 target: tapper
23
24 depends_on:
25 db:
26 condition: service_healthy
27 bot:
28 container_name: bot
29 restart: always
30 build:
31 context: .
32 dockerfile: Dockerfile
33 target: bot
34
35 depends_on:
36 db:
37 condition: service_healthy
38 db:
39 image: postgres:18.1
40 healthcheck:
41 test: ["CMD-SHELL", "pg_isready -U postgres -d tealfmbotdb"]
42 interval: 10s
43 retries: 5
44 start_period: 30s
45 timeout: 10s
46 restart: always
47 shm_size: 128mb
48 env_file: .env
49 ports:
50 - 5432:5432