Moved on git

master
Meliurwen 4 years ago
commit a4e2de32ce
Signed by: meliurwen
GPG Key ID: 818A8B35E9F1CE10
  1. 16
      .env.example
  2. 1
      .gitignore
  3. 18
      docker-compose.yml
  4. 5
      portainer.env.example

@ -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=

1
.gitignore vendored

@ -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…
Cancel
Save