-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcompose.dev.yml
More file actions
26 lines (26 loc) · 900 Bytes
/
compose.dev.yml
File metadata and controls
26 lines (26 loc) · 900 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
services:
pixelmap:
build:
context: .
dockerfile: Dockerfile
container_name: pixelmap
env_file:
- .env
ports:
- "${EXTERNAL_PORT}:${INTERNAL_PORT}"
volumes:
- ./output:/app/output
environment:
- ANALYTICS_DB_PATH=${ANALYTICS_DB_PATH:-/app/output/visitor_analytics.sqlite3}
- ANALYTICS_TRUST_PROXY_HEADERS=${ANALYTICS_TRUST_PROXY_HEADERS:-false}
- ANALYTICS_COOKIE_NAME=${ANALYTICS_COOKIE_NAME:-pixelmap_visitor_id}
- ANALYTICS_COOKIE_MAX_AGE_DAYS=${ANALYTICS_COOKIE_MAX_AGE_DAYS:-365}
- ANALYTICS_COOKIE_SAMESITE=${ANALYTICS_COOKIE_SAMESITE:-Lax}
- ANALYTICS_COOKIE_SECURE=${ANALYTICS_COOKIE_SECURE:-false}
healthcheck:
test: ["CMD", "curl", "--fail", "http://localhost:${INTERNAL_PORT}/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
restart: unless-stopped