-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
86 lines (77 loc) · 1.88 KB
/
docker-compose.yml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
version: "2.2"
volumes:
stackerdb:
driver: local
redis-data:
driver: local
services:
stacker:
image: trydirect/stacker:0.0.9
build: .
container_name: stacker
restart: always
volumes:
- ./files:/app/files
- ./docker/local/configuration.yaml:/app/configuration.yaml
- ./access_control.conf:/app/access_control.conf
- ./migrations:/app/migrations
- ./docker/local/.env:/app/.env
ports:
- "8000:8000"
env_file:
- ./docker/local/.env
environment:
- RUST_LOG=debug
- RUST_BACKTRACE=1
# depends_on:
# stackerdb:
# condition: service_healthy
redis:
container_name: redis
image: redis
restart: always
ports:
- 6379:6379
volumes:
- redis-data:/data
# - ./redis/rc.local:/etc/rc.local
# - ./redis/redis.conf:/usr/local/etc/redis/redis.conf
sysctls:
net.core.somaxconn: 1024
logging:
driver: "json-file"
options:
max-size: "10m"
tag: "container_{{.Name}}"
# stacker_queue:
# image: trydirect/stacker:0.0.7
# container_name: stacker_queue
# restart: always
# volumes:
# - ./configuration.yaml:/app/configuration.yaml
# - ./.env:/app/.env
# environment:
# - RUST_LOG=debug
# - RUST_BACKTRACE=1
# env_file:
# - ./.env
# depends_on:
# stackerdb:
# condition: service_healthy
# entrypoint: /app/console mq listen
# stackerdb:
# container_name: stackerdb
# healthcheck:
# test: ["CMD-SHELL", "pg_isready -U postgres"]
# interval: 10s
# timeout: 5s
# retries: 5
# image: postgres:16.0
# restart: always
# ports:
# - 5432:5432
# env_file:
# - ./docker/local/.env
# volumes:
# - stackerdb:/var/lib/postgresql/data
# - ./docker/local/postgresql.conf:/etc/postgresql/postgresql.conf