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-18 17:13:15 +08:00
|
|
|
container_name: websoft9-deployment
|
|
|
|
image: websoft9dev/deployment:2.19.0
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 9001-9999:9000
|
2023-04-20 17:11:36 +08:00
|
|
|
volumes:
|
2023-09-19 16:14:00 +08:00
|
|
|
- deployment:/data
|
2023-04-20 17:11:36 +08:00
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
2023-09-18 17:13:15 +08:00
|
|
|
labels:
|
|
|
|
com.docker.compose.w9_http.port: 9000
|
2023-04-20 17:11:36 +08:00
|
|
|
|
|
|
|
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-19 16:14:00 +08:00
|
|
|
deployment:
|