Added container_name to portainer
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user