websoft9/docker/w9deploy/docker-compose.yml

21 lines
451 B
YAML
Raw Normal View History

2023-09-08 18:30:48 +08:00
# Portainer can not use .env for the reason that then environments at .env may cover other stacks's .env
2023-04-20 17:11:36 +08:00
version: "3.8"
services:
2023-09-06 11:47:18 +08:00
2023-04-20 17:11:36 +08:00
portainer:
2023-09-15 18:54:50 +08:00
container_name: websoft9-deploy
image: websoft9dev/deploy:2.19.0
2023-09-06 11:47:18 +08:00
entrypoint: ["/init_portainer"]
2023-09-11 16:51:48 +08:00
restart: unless-stopped
2023-04-20 17:11:36 +08:00
volumes:
- portainer:/data
- /var/run/docker.sock:/var/run/docker.sock
networks:
default:
2023-09-08 16:35:37 +08:00
name: websoft9
2023-04-20 17:11:36 +08:00
external: true
volumes:
2023-09-06 11:47:18 +08:00
portainer: