forked from WeebDev/Commando
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml.example
41 lines (39 loc) · 1.44 KB
/
docker-compose.yml.example
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
version: '3'
services:
commando:
image: "crawl/commando:latest"
restart: always
environment:
- TOKEN=BOT_TOKEN
- COMMAND_PREFIX=-
- OWNERS=OWNER_IDS,CAN,BE,SEPERATED,BY,COMMAS
- DB=postgres://POSTGRES_USER_DEFINED_IN_POSTGRES_ENV:POSTGRES_PW_DEFINED_IN_POSTGRES_ENV@postgres:5432/POSTGRES_DB_EITHER_USER_DEFINED_IN_POSTGRES_ENV_OR_POSTGRES_DB_DEFINED_IN_POSTGRES
- REDIS=redis
- EXAMPLE_CHANNEL=CHANNEL_TO_POST_EXAMPLES_IN
- WEATHER_API=DARK_SKY_WEATHER_API_KEY
- GOOGLE_API=GOOGLE_API_KEY_FOR_YOUTUBE_AND_GEOCODE
- GOOGLE_CUSTOM_SEARCH=GOOGLE_API_KEY_FOR_CUSTOM_SEARCH
- GOOGLE_CUSTOM_SEARCH_CX=GOOGLE_CX_FOR_CUSTOM_SEARCH
- SOUNDCLOUD_API=SOUNDCLOUD_API_KEY
- SHERLOCK_API=SHERLOCK_API_KEY
- PAGINATED_ITEMS=HOW_MANY_ITEMS_PER_PAGE_VIA_PAGINATION
- DEFAULT_VOLUME=DEFAULT_VOLUME_WHEN_JOINING_VOICE_CHANNEL
- MAX_LENGTH=MAXIMUM_LENGTH_PER_SONG
- MAX_SONGS=HOW_MANY_SONGS_A_USER_CAN_QUEUE_UP
- PASSES=UPD_PACKET_PASS
volumes:
- LOCALHOST_VOLUME_PATH/backgrounds:/assets/profile/backgrounds
depends_on:
- postgres
- redis
postgres:
image: "postgres:9-alpine"
environment:
- POSTGRES_USER=commando
- POSTGRES_PASSWORD=POSTGRES_PW
volumes:
- LOCALHOST_VOLUME_PATH/postgresql/data:/var/lib/postgresql/data
redis:
image: "redis:3-alpine"
volumes:
- LOCALHOST_VOLUME_PATH/redis/data:/data