-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathdocker-compose.simple.yml
More file actions
37 lines (35 loc) · 1.03 KB
/
Copy pathdocker-compose.simple.yml
File metadata and controls
37 lines (35 loc) · 1.03 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
# Quick start: docker compose -f docker-compose.simple.yml up -d
# Optional settings: docs/deployment.md
services:
frontend:
image: ghcr.io/xiao-villamor/printstash-frontend:${PRINTSTASH_VERSION:-latest}
restart: unless-stopped
ports:
- "${PRINTSTASH_HTTP_PORT:-3000}:3000"
depends_on:
api:
condition: service_healthy
api:
image: ghcr.io/xiao-villamor/printstash-api-lite:${PRINTSTASH_VERSION:-latest}
restart: unless-stopped
environment:
VAULT_SETUP_MODE: trusted_network
VAULT_RESTART_ENABLED: "true"
volumes:
- printstash_data:/data/files
- printstash_thumbs:/data/thumbs
- printstash_db:/data/db
- printstash_staging:/data/staging
- printstash_backups:/data/backups
healthcheck:
test: ["CMD", "curl", "-fsS", "http://localhost:8000/api/v1/health"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
volumes:
printstash_data:
printstash_thumbs:
printstash_db:
printstash_staging:
printstash_backups: