37 lines
687 B
YAML
37 lines
687 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
organizr:
|
|
image: organizr/organizr:latest
|
|
ports:
|
|
- 8484:80
|
|
volumes:
|
|
- organizr_config:/config
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=America/Chicago
|
|
networks:
|
|
- proxy
|
|
deploy:
|
|
mode: replicated
|
|
replicas: 1
|
|
placement:
|
|
constraints:
|
|
- node.hostname == Docker-Swarm-1
|
|
restart_policy:
|
|
condition: on-failure
|
|
delay: 5s
|
|
max_attempts: 3
|
|
update_config:
|
|
parallelism: 1
|
|
delay: 10s
|
|
order: start-first
|
|
volumes:
|
|
organizr_config:
|
|
driver: local
|
|
|
|
networks:
|
|
proxy:
|
|
driver: overlay
|
|
attachable: true |