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

24 lines
553 B

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