websoft9/docker/w9deploy/docker-compose.yml
2023-09-18 09:31:29 +08:00

21 lines
451 B
YAML

# Portainer can not use .env for the reason that then environments at .env may cover other stacks's .env
version: "3.8"
services:
portainer:
container_name: websoft9-deploy
image: websoft9dev/deploy:2.19.0
entrypoint: ["/init_portainer"]
restart: unless-stopped
volumes:
- portainer:/data
- /var/run/docker.sock:/var/run/docker.sock
networks:
default:
name: websoft9
external: true
volumes:
portainer: