-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml.sample
40 lines (40 loc) · 1008 Bytes
/
docker-compose.yml.sample
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
version: '2'
services:
headless-client:
build: dependencies/headless-client
links:
- redis
- postgres
environment: &environment
- TOKEN_APP_SEED=
- TOKEN_APP_USERNAME=
- TOKEN_APP_NAME=
- TOKEN_APP_AVATAR=
- REDIS_URL=redis://h:rlcMWNrxXgqS0xM8aWCYuE0R@redis:6379
- DATABASE_URL=postgres://token:va5uOdJBqu2dZ1@postgres:5432/token
- LOG_LEVEL=INFO
- ENABLE_LOG_TIMESTAMPS=0
volumes:
- ./config/docker.yml:/usr/src/headless-client/config.yml
- ./attachments:/usr/src/headless-client/attachments
bot:
build: .
links:
- redis
- postgres
environment: *environment
volumes:
- ./config/docker.yml:/usr/src/bot/config.yml
- ./src:/usr/src/bot/src
redis:
build: dependencies/redis
ports:
- 6379
postgres:
image: postgres:9.6
ports:
- 15432
environment:
- POSTGRES_PASSWORD=va5uOdJBqu2dZ1
- POSTGRES_USER=token
- POSTGRES_DB=token