add portainer
This commit is contained in:
parent
b71c0ab050
commit
746fae3f28
|
|
@ -0,0 +1,25 @@
|
||||||
|
|
||||||
|
services:
|
||||||
|
portainer:
|
||||||
|
restart: "always"
|
||||||
|
image: portainer/portainer-ce:latest
|
||||||
|
container_name: portainer
|
||||||
|
ports:
|
||||||
|
- "879:9443"
|
||||||
|
volumes:
|
||||||
|
- portainer-data:/data
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
networks:
|
||||||
|
- medicine-network
|
||||||
|
logging:
|
||||||
|
driver: "json-file"
|
||||||
|
options:
|
||||||
|
max-size: "200k"
|
||||||
|
max-file: "10"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
medicine-network:
|
||||||
|
external: true
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
portainer-data:
|
||||||
Loading…
Reference in New Issue