Unofficial build of Portainer 100% telemetry-free!
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.
 
docker-portainer/docker-compose.yml

23 lines
553 B

version: "3"
services:
portainer:
build:
context: portainer/
args:
- GOOS=${TARGETOS:-linux}
- GOARCH=${TARGETARCH:-amd64}
- GIT_TAG=${GIT_TAG:-2.0.0}
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: --admin-password="${PORT_ENCRYPTED_PWD}"
networks:
default:
external:
name: ${NETWORK}