v1.0
This commit is contained in:
parent
164e39d56c
commit
6f5a9a0df0
@ -4,7 +4,7 @@
|
||||
This docker compose run portainer on docker
|
||||
|
||||
## 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
|
||||
```bash
|
||||
|
||||
@ -1,14 +1,15 @@
|
||||
#version: "3"
|
||||
services:
|
||||
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
|
||||
container_name: portainer
|
||||
ports:
|
||||
- 9443:9443
|
||||
volumes:
|
||||
- portainer_data:/data
|
||||
- /home/docker/certs:/certs
|
||||
- /home/docker/portainer/data:/data
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
restart: always
|
||||
volumes:
|
||||
portainer_data:
|
||||
#volumes:
|
||||
# portainer_data:
|
||||
Loading…
x
Reference in New Issue
Block a user