mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-25 02:38:42 +08:00
25 lines
541 B
YAML
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: |