Portainer added.

This commit is contained in:
Alexey Skobkin 2020-04-29 14:59:44 +03:00
parent 69cdcfda45
commit 75bbdb4fbc
No known key found for this signature in database
GPG Key ID: 5D5CEF6F221278E7
3 changed files with 34 additions and 0 deletions

View File

@ -36,6 +36,7 @@ Not every stack is tested to fully work.
- [x] Murmur (Mumble server)
- [x] Open Streaming Platform
- [x] OpenVPN
- [ ] Portainer (prototype state)
- [ ] Postgres Common (prototype state)
- [x] Proxy MTProto
- [x] Proxy Socks5

7
portainer/.env.dist Normal file
View File

@ -0,0 +1,7 @@
# https://hub.docker.com/r/portainer/portainer
# Uncomment to use directory binding instead of docker volume (almost always not needed)
#DATA_PATH=/some/path
LOG_MAX_SIZE=5m
LOG_MAX_FILE=5

View File

@ -0,0 +1,26 @@
version: '3.7'
services:
portainer:
# https://hub.docker.com/r/portainer/portainer
image: portainer/portainer
container_name: portainer
ports:
- "127.0.0.1:9000:9000/tcp"
#- "127.0.0.1:8000:8000/tcp"
volumes:
# Persistent data volume
- "${DATA_PATH:-portainer_data}:/data"
# Docker socket
- "/var/run/docker.sock:/var/run/docker.sock"
env_file: .env
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "${LOG_MAX_SIZE:-5m}"
max-file: "${LOG_MAX_FILE:-5}"
volumes:
portainer_data:
name: portainer_data