You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
473 B
18 lines
473 B
version: "3"
|
|
|
|
services:
|
|
portainer:
|
|
image: ${PORT_IMG:-portainer/portainer}:${PORT_TAG:-latest}
|
|
container_name: ${PORT_CONTAINER_NAME:-portainer}
|
|
restart: ${PORT_RESTART:-unless-stopped}
|
|
volumes:
|
|
- ${LOCAL_STACK_DIR}/portainer/data:/data
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
env_file:
|
|
- portainer.env
|
|
command: --no-analytics --admin-password ${ENCRYPTED_PASSWORD}
|
|
|
|
networks:
|
|
default:
|
|
external:
|
|
name: ${NETWORK}
|
|
|