forked from vultisig/notification
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
40 lines (37 loc) · 861 Bytes
/
Copy pathdocker-compose.yaml
File metadata and controls
40 lines (37 loc) · 861 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
services:
db:
image: mysql:8
environment:
MYSQL_ROOT_PASSWORD: "password"
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
MYSQL_DATABASE: notification
ports:
- "${MYSQL_PORT:-3306}:3306"
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
interval: 5s
timeout: 5s
retries: 5
redis:
image: redis:alpine
command: ["redis-server"]
ports:
- "${REDIS_PORT:-6372}:6379"
asynqmon:
image: hibiken/asynqmon:latest
container_name: signer-asynqmon
platform: linux/amd64
ports:
- "${ASYNQMON_PORT:-8022}:8080"
environment:
REDIS_URL: redis://redis:6379/0
# app:
# build: .
# ports:
# - "8080:8080"
# depends_on:
# - db
# - redis
# environment:
# - GIN_MODE=release
# - CONFIG_PATH=config/config.yaml