Added container_name to portainer

This commit is contained in:
Max Buz
2023-09-23 13:22:06 +02:00
committed by GitHub
parent 95f03e7cf1
commit f9d1af5c5e

View File

@@ -1,11 +1,12 @@
version: "3" version: "3"
services: services:
portainer: portainer:
container_name: portainer
image: portainer/portainer-ce:latest image: portainer/portainer-ce:latest
ports: ports:
- 9443:9443 - 9443:9443
env_file: env_file:
- stack.env - .env
volumes: volumes:
- ${PORTAINER_DATA}:/data - ${PORTAINER_DATA}:/data
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock