- Eliminated the `version` field across various examples and documentation for simplicity and alignment with newer Docker Compose and Swarm standards. - Updated relevant documentation and example usage instructions accordingly.
26 lines
607 B
YAML
26 lines
607 B
YAML
# To install:
|
|
# docker stack deploy -c portainer.yml portainer
|
|
|
|
services:
|
|
portainer:
|
|
image: portainer/portainer-ce:latest
|
|
volumes:
|
|
- portainer_data:/data portainer
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
deploy:
|
|
replicas: 1
|
|
labels:
|
|
# easyhaproxy.http.redirect_ssl: true
|
|
# easyhaproxy.http.certbot: true
|
|
easyhaproxy.http.host: portainer.local
|
|
easyhaproxy.http.port: 80
|
|
easyhaproxy.http.localport: 9000
|
|
|
|
volumes:
|
|
certs_certbot:
|
|
external: true
|
|
# certs_haproxy:
|
|
# external: true
|
|
portainer_data:
|
|
# external: true
|
|
|