version: '3.8' services: oma-memorial: build: . container_name: oma-memorial restart: unless-stopped environment: - NODE_ENV=production - PORT=3000 volumes: - ./data:/app/data networks: - proxy healthcheck: test: ["CMD", "node", "-e", "require('http').get('http://localhost:3000', (r) => {process.exit(r.statusCode === 200 ? 0 : 1)})"] interval: 30s timeout: 10s retries: 3 start_period: 40s networks: proxy: external: true