websoft9/docker/w9deployment/docker-compose.yml
2023-09-18 17:13:15 +08:00

25 lines
541 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-deployment
image: websoft9dev/deployment:2.19.0
entrypoint: ["/init_portainer"]
restart: always
ports:
- 9001-9999:9000
volumes:
- portainer:/data
- /var/run/docker.sock:/var/run/docker.sock
labels:
com.docker.compose.w9_http.port: 9000
networks:
default:
name: websoft9
external: true
volumes:
portainer: