infrastructure/portainer/docker-compose.yaml

25 lines
537 B
YAML
Raw Permalink Normal View History

2022-02-06 19:14:00 +01:00
version: '3.5'
services:
portainer:
image: portainer/portainer-ce:2.11.0
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- portainer_data:/data
ports:
- 8000:8000 # This is used for portainer edge agents to connect
environment:
- VIRTUAL_HOST=portainer.jfreudenberger.de
- VIRTUAL_PORT=9000
- LETSENCRYPT_HOST=portainer.jfreudenberger.de
networks:
- webproxy
volumes:
portainer_data:
networks:
webproxy:
external: true
name: webproxy