Files
selfhosting/portainer/docker-compose.portainer.yml
T

23 lines
493 B
YAML
Raw Normal View History

2020-06-27 14:55:16 +02:00
version: '3'
services:
portainer:
container_name: portainer
2020-12-13 18:05:42 +01:00
image: portainer/portainer-ce
2020-06-27 14:55:16 +02:00
command: -H unix:///var/run/docker.sock
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- portainer_data:/data
networks:
- srv
restart: unless-stopped
2020-06-27 17:52:23 +02:00
expose:
2021-10-03 16:19:09 +02:00
- 9000
environment:
2021-10-24 10:07:24 +02:00
- VIRTUAL_PORT=9000
2021-10-03 16:19:09 +02:00
- VIRTUAL_HOST=${HOST_PORTAINER}.${DOMAIN}
2021-10-24 10:07:24 +02:00
- LETSENCRYPT_HOST=${HOST_PORTAINER}.${DOMAIN}
2020-06-27 14:55:16 +02:00
volumes:
portainer_data: