-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
60 lines (58 loc) · 1.39 KB
/
docker-compose.yml
File metadata and controls
60 lines (58 loc) · 1.39 KB
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
version: "2.1"
services:
notifier:
build:
context: .
dockerfile: ./Dockerfile
environment:
MYSQL_DATABASE: ${MYSQL_NAME}
MYSQL_USER: ${MYSQL_USERNAME}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
MYSQL_DATABASE_HOST: db
MYSQL_DATABASE_PORT: 3306
WORKER_CONNECTIONS: ${WORKER_CONNECTIONS}
WORKER_TIMEOUT: ${WORKER_TIMEOUT}
WORKERS: ${WORKERS}
TZ: ${TZ}
restart: always
volumes:
- static_data:/app/static/
- ./wplusnotifier/:/app/wplusnotifier/
- ${DATA_VOL}:/app/attachments/
depends_on:
db:
condition: service_healthy
fcmproxy:
condition: service_healthy
ports:
- "${BACKEND_PORT}:80"
phpmyadmin:
image: phpmyadmin
depends_on:
db:
condition: service_healthy
ports:
- "${PMA_PORT}:80"
restart: unless-stopped
fcmproxy:
image: ghcr.io/wilmaplus/fcmproxy
restart: unless-stopped
environment:
SENDER_ID: ${SENDER_ID}
db:
image: mariadb
environment:
MARIADB_RANDOM_ROOT_PASSWORD: "yes"
MYSQL_DATABASE: ${MYSQL_NAME}
MYSQL_USER: ${MYSQL_USERNAME}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
volumes:
- mysql_data:/var/lib/mysql
restart: unless-stopped
healthcheck:
test: ["CMD", "mysqladmin", "ping", "--silent"]
timeout: 10s
retries: 10
volumes:
mysql_data:
static_data: