31 lines
847 B
YAML
31 lines
847 B
YAML
# 2023-09-25
|
|
# Stack: portainer
|
|
---
|
|
|
|
portainer:
|
|
name: "portainer"
|
|
ipv6: true
|
|
dockerproxy: true
|
|
|
|
directories:
|
|
- "{{ stack_folder_datas }}/portainer/datas"
|
|
|
|
services:
|
|
|
|
- name: "portainer"
|
|
image: "portainer/portainer-ee:alpine"
|
|
uid: "0"
|
|
gid: "0"
|
|
privileged: true
|
|
restart: "always"
|
|
ports:
|
|
- { exposed: "${VM_PORTAINER_HTTP}", container: "9000" }
|
|
- { exposed: "${VM_PORTAINER_HTTPS}", container: "9443" }
|
|
- { exposed: "${VM_PORTAINER_TCP}", container: "8000" }
|
|
command: "-H tcp://${VM_HOST}:${VM_PORT_DOCKERPROXY}"
|
|
healthcheck: 'wget --no-verbose --tries=1 --spider http://0.0.0.0:9000 || exit 1'
|
|
ressources:
|
|
memory: 512M
|
|
volumes:
|
|
- { local: './{{ stack_folder_datas }}/portainer/datas', container: '/data', mode: 'rw' }
|