commit c6d38c168166078b2e7454788247ff8195683ae8 Author: meliurwen Date: Fri Aug 21 23:12:41 2020 +0200 Moving on git diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..fcb4a0d --- /dev/null +++ b/.env.example @@ -0,0 +1,12 @@ +# Global Settings +TZ=Europe/Berlin +LOCAL_STACK_DIR=/srv/docker/volumes/transmission + +# Networks +NETWORK=webservices + +# transmission (optional) +TR_IMG= +TR_TAG= +TR_CONTAINER_NAME= +TR_RESTART= diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..03bd412 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.env diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..57c6792 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,25 @@ +version: "3" + +services: + transmission: + image: ${TR_IMG:-linuxserver/transmission}:${TR_TAG:-latest} + container_name: ${TR_CONTAINER_NAME:-transmission} + restart: ${TR_RESTART:-unless-stopped} + volumes: + - ${LOCAL_STACK_DIR}/config:/config + - ${LOCAL_STACK_DIR}/downloads:/downloads + - ${LOCAL_STACK_DIR}/watch:/watch + ports: + - 51413:51413 + - 51413:51413/udp + expose: + - 9091 + env_file: + - transmission.env + environment: + TZ: ${TZ} + +networks: + default: + external: + name: ${NETWORK} diff --git a/transmission.env.example b/transmission.env.example new file mode 100644 index 0000000..495fadb --- /dev/null +++ b/transmission.env.example @@ -0,0 +1,15 @@ +# transmission +PGID=1000 +PUID=1000 + +# transmission (optional) +# Options are: /combustion-release/, /transmission-web-control/, /kettu/ +#TRANSMISSION_WEB_HOME=/combustion-release/ +#USER= +#PASS= + +# Reverse-proxy and certbot +VIRTUAL_HOST=subdomain.domain.tld +VIRTUAL_PORT=9091 +LETSENCRYPT_HOST=subdomain.domain.tld +LETSENCRYPT_EMAIL=username@domain.tld