commit
a4e2de32ce
@ -0,0 +1,16 @@ |
||||
# Global Settings |
||||
LOCAL_STACK_DIR=/srv/docker/volumes/portainer |
||||
|
||||
# Networks |
||||
NETWORK=webservices |
||||
|
||||
# portainer |
||||
# Generate with the command: htpasswd -nb -B admin asd | cut -d ":" - |
||||
# On Debian the tool is part of the `apache2-utils` package |
||||
PORT_ENCRYPTED_PWD= |
||||
|
||||
# portainer (optional) |
||||
PORT_IMG= |
||||
PORT_TAG= |
||||
PORT_CONTAINER_NAME= |
||||
PORT_RESTART= |
@ -0,0 +1 @@ |
||||
*.env |
@ -0,0 +1,18 @@ |
||||
version: "3" |
||||
|
||||
services: |
||||
portainer: |
||||
image: ${PORT_IMG:-portainer/portainer}:${PORT_TAG:-latest} |
||||
container_name: ${PORT_CONTAINER_NAME:-portainer} |
||||
restart: ${PORT_RESTART:-unless-stopped} |
||||
volumes: |
||||
- ${LOCAL_STACK_DIR}/portainer/data:/data |
||||
- /var/run/docker.sock:/var/run/docker.sock |
||||
env_file: |
||||
- portainer.env |
||||
command: --no-analytics --admin-password ${ENCRYPTED_PASSWORD} |
||||
|
||||
networks: |
||||
default: |
||||
external: |
||||
name: ${NETWORK} |
@ -0,0 +1,5 @@ |
||||
# Reverse-proxy and certbot |
||||
VIRTUAL_HOST=subdomain.domain.tld |
||||
VIRTUAL_PORT=9000 |
||||
LETSENCRYPT_HOST=subdomain.domain.tld |
||||
LETSENCRYPT_EMAIL=username@domain.tld |
Loading…
Reference in new issue