-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (37 loc) · 1.12 KB
/
docker-compose.yml
File metadata and controls
39 lines (37 loc) · 1.12 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
version: '3.8'
services:
env-manager:
image: buildappolis/env-manager:latest
container_name: buildappolis-env-manager
build:
context: .
dockerfile: Dockerfile
ports:
- "3001:3001"
environment:
- NODE_ENV=production
- PORT=3001
- HOST=0.0.0.0
- ENV_MANAGER_PASSWORD=${ENV_MANAGER_PASSWORD:-changeme}
- ENCRYPTION_KEY=${ENCRYPTION_KEY:-generate-a-secure-32-character-key}
- DATABASE_PATH=/app/data/env-manager.db
- ENABLE_SNAPSHOTS=true
- ENABLE_EXPORT=true
- ENABLE_API=true
volumes:
- env-data:/app/data
- ./env.config.ts:/app/env.config.ts:ro # Mount project config (read-only)
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:3001/api/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
labels:
- "com.buildappolis.product=env-manager"
- "com.buildappolis.website=www.buildappolis.com"
- "com.buildappolis.license=BuildAppolis-License"
volumes:
env-data:
name: buildappolis-env-manager-data