-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (30 loc) · 799 Bytes
/
docker-compose.yml
File metadata and controls
31 lines (30 loc) · 799 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
services:
crc:
build:
context: .
dockerfile: Dockerfile
container_name: crc
restart: unless-stopped
ports:
- "${PORT:-3000}:3000"
environment:
- PORT=3000
- PASSWORD=${PASSWORD:-changeme}
- EMAIL_HOST=${EMAIL_HOST:-}
- EMAIL_PORT=${EMAIL_PORT:-}
- EMAIL_USER=${EMAIL_USER:-}
- EMAIL_PASSWORD=${EMAIL_PASSWORD:-}
- EMAIL_SECURE=${EMAIL_SECURE:-false}
- MY_EMAIL_ADDRESS=${MY_EMAIL_ADDRESS:-}
- DB_PATH=/app/data/db.json
volumes:
# Persist database file across container restarts
- crc-data:/app/data
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:3000/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 5s
volumes:
crc-data: