portainer:
image: portainer/portainer-ce:2.40.0-alpine
container_name: portainer
restart: always
ports:
- 9000:9000
environment:
- VIRTUAL_HOST=docker.wxy.kim
- VIRTUAL_PORT=9000
- LETSENCRYPT_HOST=portainer.wxy.kim
- LETSENCRYPT_EMAIL=shiningrise@qq.com
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- portainer_data:/data
volumes:
portainer_data:
name: portainer_data
©著作权归作者所有