28 lines
686 B
Text
28 lines
686 B
Text
version: "3.8"
|
|
services:
|
|
puter:
|
|
container_name: puter-${IP}-${PORT}
|
|
image: ghcr.io/heyputer/puter:2.4.2
|
|
user: ${RUN_USER}
|
|
pull_policy: always
|
|
# build: ./
|
|
restart: unless-stopped
|
|
ports:
|
|
- ${IP}:${PORT}:4100
|
|
environment:
|
|
# TZ: Europe/Paris
|
|
# CONFIG_PATH: /etc/puter
|
|
PUID: ${RUN_ID}
|
|
PGID: ${RUN_ID}
|
|
volumes:
|
|
- ${CONFIG_DIR}:/etc/puter
|
|
- ${DATA_DIR}:/var/puter
|
|
- ${SHARED_DIR}:/var/puter/Shared
|
|
healthcheck:
|
|
test: wget --no-verbose --tries=1 --spider http://puter.localhost:4100/test ||
|
|
exit 1
|
|
interval: 30s
|
|
timeout: 3s
|
|
retries: 3
|
|
start_period: 30s
|
|
networks: {}
|