Updated yaml to use .env files

This commit is contained in:
Max Buz
2023-09-22 14:53:59 +02:00
committed by GitHub
parent 5a3a1066d8
commit 69de3c6a95
6 changed files with 126 additions and 0 deletions

14
portainer.yaml Normal file
View File

@@ -0,0 +1,14 @@
version: "3"
services:
portainer:
image: portainer/portainer-ce:latest
ports:
- 9443:9443
env_file:
- stack.env
volumes:
- ${PORTAINER_DATA}:/data
- /var/run/docker.sock:/var/run/docker.sock
restart: unless-stopped
volumes:
data: