some general updates
This commit is contained in:
34
docker-compose/portainer/README.md
Normal file
34
docker-compose/portainer/README.md
Normal 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`
|
||||
|
||||

|
||||
|
||||
|
||||
### (Option 2): Use a Reverse Proxy
|
||||
|
||||
Use a Reverse Proxy to securely expose administrative services.
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user