first commit

This commit is contained in:
2026-03-13 15:22:49 +00:00
commit abbce167b2
3 changed files with 35 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
.env
/data

11
README.md Normal file
View File

@@ -0,0 +1,11 @@
docker run -d \
-p 9001:9001 \
--name portainer_agent \
--restart=always \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /var/lib/docker/volumes:/var/lib/docker/volumes \
-v /:/host \
portainer/agent:2.33.1
Name: gateway
Env address: 10.0.0.250:9001

22
docker-compose.yml Normal file
View File

@@ -0,0 +1,22 @@
services:
portainer:
image: portainer/portainer-ce:alpine
container_name: portainer
command: -H unix:///var/run/docker.sock
ports:
- "8200:9000"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
# - "portainer_data:/data"
- "./data:/data"
restart: always
networks:
- nginx
volumes:
portainer_data:
networks:
nginx:
driver: bridge
external: true