36 lines
967 B
YAML
36 lines
967 B
YAML
#version: "3"
|
|
services:
|
|
portainer:
|
|
command: --sslcert /certs/gmolab.net.crt --sslkey /certs/gmolab.net.key
|
|
image: portainer/portainer-ee:latest
|
|
container_name: portainer
|
|
ports:
|
|
- 9443:9443
|
|
volumes:
|
|
- /home/docker/certs:/certs
|
|
- /home/docker/portainer/data:/data
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
restart: always
|
|
#volumes:
|
|
# portainer_data:
|
|
|
|
# Ok VdG
|
|
#version: '3.8'
|
|
|
|
#services:
|
|
# portainer:
|
|
# #image: portainer/portainer-ce:latest
|
|
# image: portainer/portainer-ee:latest
|
|
# container_name: portainer
|
|
# restart: always
|
|
# ports:
|
|
# - "8089:9443"
|
|
# # "9443:9443"
|
|
# volumes:
|
|
# #- portainer_data:/data
|
|
# - /home/docker/portainer/data:/data
|
|
# - /var/run/docker.sock:/var/run/docker.sock
|
|
# environment:
|
|
# - TZ=Europe/Zurich # Remplacez par votre zone horaire
|
|
# #- EDGE=1 # Active les mises à jour Edge (facultatif)
|
|
# # - LICENSES: A tester |