mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 10:17:15 +08:00
26 lines
543 B
YAML
26 lines
543 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-portainer
|
|
image: websoft9dev/portainer:2.19.0
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
entrypoint: ["/init_portainer"]
|
|
restart: unless-stopped
|
|
volumes:
|
|
- portainer:/data
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
ports:
|
|
- 9091:9000
|
|
|
|
networks:
|
|
default:
|
|
name: websoft9
|
|
external: true
|
|
|
|
volumes:
|
|
portainer: |