websoft9/docker/w9portainer/docker-compose.yml

22 lines
384 B
YAML
Raw Normal View History

2023-04-20 17:11:36 +08:00
version: "3.8"
services:
portainer:
image: portainer/portainer-ce:${APP_VERSION}
container_name: ${APP_NAME}
restart: unless-stopped
env_file: .env
volumes:
- portainer:/data
- /var/run/docker.sock:/var/run/docker.sock
2023-07-20 08:32:33 +08:00
ports:
- ${APP_HTTP_PORT}:9000
2023-04-20 17:11:36 +08:00
networks:
default:
name: ${APP_NETWORK}
external: true
volumes:
2023-07-19 12:12:30 +08:00
portainer: