puter/docker-compose.yml

26 lines
579 B
YAML
Raw Normal View History

2024-03-31 09:18:03 +00:00
---
version: "3.8"
2024-03-06 02:15:23 +00:00
services:
2024-03-31 09:18:03 +00:00
puter:
container_name: puter
image: ghcr.io/heyputer/puter:latest
pull_policy: always
# build: ./
restart: unless-stopped
2024-03-06 02:15:23 +00:00
ports:
2024-03-31 09:18:03 +00:00
- '4100:4100'
environment:
# TZ: Europe/Paris
# CONFIG_PATH: /etc/puter
PUID: 1000
PGID: 1000
volumes:
- ./puter/config:/etc/puter
- ./puter/data:/var/puter
healthcheck:
test: wget --no-verbose --tries=1 --spider http://puter.localhost:4100/test || exit 1
interval: 30s
timeout: 3s
retries: 3
start_period: 30s