-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
54 lines (50 loc) · 1.25 KB
/
docker-compose.yaml
File metadata and controls
54 lines (50 loc) · 1.25 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
# nginx proxy address - http://172.17.0.1:8093
x-logging: &default-logging
driver: json-file
options:
max-size: "5m"
max-file: "1"
services:
wekan:
image: wekan/wekan:latest
container_name: wekan-app
restart: unless-stopped
logging: *default-logging
networks:
- wekan
ports:
- "8093:8093"
environment:
TZ: ${TZ:-America/New_York}
volumes:
- ./rootfs/data/wekan:/data
- ./rootfs/config/wekan:/config
depends_on:
- wekan-db
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8093"]
interval: 30s
timeout: 10s
retries: 3
wekan-db:
image: mongo:7
container_name: wekan-db
restart: unless-stopped
logging: *default-logging
networks:
- wekan
environment:
TZ: ${TZ:-America/New_York}
MONGO_INITDB_DATABASE: ${DB_CREATE_DATABASE_NAME:-wekan}
MONGO_INITDB_ROOT_USERNAME: ${DB_ADMIN_NAME:-root}
MONGO_INITDB_ROOT_PASSWORD: ${DB_ADMIN_PASS:-changeme_root_password}
volumes:
- ./rootfs/data/db/mongodb/wekan:/data/db
healthcheck:
test: ["CMD", "mongosh", "--eval", "db.adminCommand('ping')"]
interval: 30s
timeout: 10s
retries: 3
networks:
wekan:
external: false