docker-compose.yml 395 B

12345678910111213141516171819
  1. services:
  2. app:
  3. build: .
  4. container_name: lfj-rebalancer
  5. restart: unless-stopped
  6. ports:
  7. - '3000:3000'
  8. volumes:
  9. - ./data:/app/data
  10. env_file:
  11. - .env.local
  12. environment:
  13. - NODE_ENV=production
  14. healthcheck:
  15. test: ['CMD', 'curl', '-f', 'http://localhost:3000']
  16. interval: 30s
  17. timeout: 5s
  18. retries: 3
  19. start_period: 30s