docker-compose.yml 579 B

12345678910111213141516171819202122232425
  1. ---
  2. version: "3.8"
  3. services:
  4. puter:
  5. container_name: puter
  6. image: ghcr.io/heyputer/puter:latest
  7. pull_policy: always
  8. # build: ./
  9. restart: unless-stopped
  10. ports:
  11. - '4100:4100'
  12. environment:
  13. # TZ: Europe/Paris
  14. # CONFIG_PATH: /etc/puter
  15. PUID: 1000
  16. PGID: 1000
  17. volumes:
  18. - ./puter/config:/etc/puter
  19. - ./puter/data:/var/puter
  20. healthcheck:
  21. test: wget --no-verbose --tries=1 --spider http://puter.localhost:4100/test || exit 1
  22. interval: 30s
  23. timeout: 3s
  24. retries: 3
  25. start_period: 30s