File size: 521 Bytes
489b6e2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
services:
  hipcamp:
    build: .
    ports:
      - "3000:3000"
    environment:
      NODE_ENV: production
      SESSION_SECRET: ${SESSION_SECRET:-replace-this-before-shared-deployment}
      SESSION_COOKIE_SECURE: "false"
      PERSISTENT_STORE_PATH: /app/data/store.json
      PAYMENTS_MODE: simulation
    volumes:
      - hipcamp-data:/app/data
    healthcheck:
      test: ["CMD", "wget", "-qO-", "http://127.0.0.1:3000/api/health"]
      interval: 30s
      timeout: 5s
      retries: 3

volumes:
  hipcamp-data: