-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (45 loc) · 948 Bytes
/
docker-compose.yml
File metadata and controls
47 lines (45 loc) · 948 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
44
45
46
version: '3.6'
services:
postgres:
image: postgres:alpine
restart: always
ports:
- "5432:5432"
environment:
POSTGRES_DB: explorer
POSTGRES_USER: minter
POSTGRES_PASSWORD: password
volumes:
- ./tmp/postgresql:/var/lib/postgresql/data
- ./database:/docker-entrypoint-initdb.d
healthcheck:
test: pg_isready -U minter -d explorer
interval: 1s
timeout: 10s
retries: 3
start_period: 0s
centrifugo:
image: centrifugo/centrifugo:v3
volumes:
- ./tmp/centrifugo:/centrifugo
command: centrifugo -c config.toml
ports:
- "8000:8000"
ulimits:
nofile:
soft: 65535
hard: 65535
# extender:
# build: ./
# volumes:
# - ./:/app
# env_file:
# - .env
# links:
# - centrifugo
# - postgres
# depends_on:
# - postgres
# - centrifugo
# restart: always
# command: extender