some general updates

This commit is contained in:
xcad2k
2021-12-30 11:46:21 +01:00
parent 2b925bf08e
commit 0083bc01a1
11 changed files with 132 additions and 1 deletions

View File

@@ -0,0 +1,34 @@
# Installing
## Manage local environment
Allows Portainer to manage the local Docker Environment
```yaml
volumes:
- /var/run/docker.sock:/var/run/docker.sock
```
## Data Persistence
Storing Data in a `portainer-data` volume on docker
```yaml
volumes:
- portainer-data:/data
```
# Best-Practices
### (Option 1): Upload custom certificates
- [ ] Upload your custom certificates
- [ ] Force HTTPS only
- [ ] Expose Port `9443`
![Force HTTPS Only and Certificates](https://imagedelivery.net/yG07CmQlapjZ95zez0HJMA/5cf8fa46-d548-4f0b-570e-0caf8ee6d700/medium)
### (Option 2): Use a Reverse Proxy
Use a Reverse Proxy to securely expose administrative services.

View File

@@ -2,10 +2,12 @@ version: '3'
services:
app:
container_name: portainer
image: 'portainer/portainer-ce:latest'
ports:
- '9000:9000'
- '9443:9443'
- '8000:8000'
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /AmberPro/portainer/data:/data
- portainer-data:/data