v1.0
This commit is contained in:
parent
164e39d56c
commit
6f5a9a0df0
@ -4,7 +4,7 @@
|
|||||||
This docker compose run portainer on docker
|
This docker compose run portainer on docker
|
||||||
|
|
||||||
## Certificats
|
## Certificats
|
||||||
Copy .crt and .key on `/var/lib/docker/volumes/portainer-docker-compose_portainer_data/_data/certs/`
|
Copy .crt and .key on `/home/docker/certs/`
|
||||||
|
|
||||||
## Run
|
## Run
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@ -1,14 +1,15 @@
|
|||||||
#version: "3"
|
#version: "3"
|
||||||
services:
|
services:
|
||||||
portainer:
|
portainer:
|
||||||
command: --sslcert /data/certs/gmolab.net.crt --sslkey /data/certs/gmolab.net.key
|
command: --sslcert /certs/gmolab.net.crt --sslkey /certs/gmolab.net.key
|
||||||
image: portainer/portainer-ee:latest
|
image: portainer/portainer-ee:latest
|
||||||
container_name: portainer
|
container_name: portainer
|
||||||
ports:
|
ports:
|
||||||
- 9443:9443
|
- 9443:9443
|
||||||
volumes:
|
volumes:
|
||||||
- portainer_data:/data
|
- /home/docker/certs:/certs
|
||||||
|
- /home/docker/portainer/data:/data
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
#volumes:
|
||||||
portainer_data:
|
# portainer_data:
|
||||||
Loading…
x
Reference in New Issue
Block a user