moving from static files to j2 templates

pull/10/head
Cian Hatton 3 years ago
parent 3ec54af885
commit 390ec77f46

@ -1,24 +1,31 @@
$ANSIBLE_VAULT;1.1;AES256 $ANSIBLE_VAULT;1.1;AES256
34303937666432373666386464363363616138323364316661303139346439313734653936346661 61663635393234373338643564313337353832313533656466623266303965326333353663353336
3132663235346134336538636365333733333631343237650a386439386338656164396563373639 3431663531363464626562383135393830353339323764370a303031353864633834346539363832
33326139656239373133636538643162323930306465626436376237393564303063333731383234 33313832616138386365353966333137363937663736306261346136646565653936646332626135
3363663435623766320a646633643164313630653730643366366533666139626565346139353666 3538356635613735380a666336356139656466306432636466653630633762323133333936353133
38613363306531326237646663316131366363323437633436383536633262353365623434633432 31616437663332653134363630363961303132653064666436383864613835353437336637353265
34346538333536343336303635373230323038326162646331666238383363336563353637303130 63653963306338363730346139383636643033353835346134363231326264666461303134353432
38666566666534623837323136383165316135643034373134666265373839646165333663366662 62396237316261383061383566616433303833613561383638663361363963326463656461346537
36636439313639623562663062316462643438303031663065333861626231623132643630353739 62383761386266316664666432316664646562316565333330373264373535393035303466613536
37333735663065366432383139383265666161633466646661656163306635343732613835633165 61633565663237373734653062333564653964366234333035393937613139313930363936323963
39326131333930313830306363343131653632613131613161333235363035663662373036323634 31623166313564616362303230386466653831393438616166353666653536393231613565656461
61316366633666346638616262353234346232366132346266303433653665636136383463613630 35313239363563323434626561336363353137643361376437363736613263303738333462323538
31393263373336376130326237663466653431366330646262363535653862373538366636356534 32343230663033646437343937613633623663333339313037393661313938346232346535663935
66376163316532653038396332316366666136666430613734653535643038653163343838396464 30663631326431663838356131346530643930663633306233633135646665313264633436336665
63616666656538376537653832393665356438316336323865323561303664303730303235326264 63626532343763633936313264613836353437356233396161616362323837376166313438353131
35356338643763303864616238623733663163626633386634326539656433343839363136343865 62613064393362616430313935646662316239333332393036303766373837343338623036316539
33343333623961343338656463386435643165616665313032646365376231646461626533633830 34643639666237356536666562376664376637643430663930353337623037373133663961633961
31623736333863356630623964373565343633393030666161626164656666386163386662636666 38623863626265363661333132656662613337613939656365353734326463373833323332323463
34326537303631393834306165613435616430613931343237383632316533306363303165366233 35356334326239313661626462376666626435313565306366333062393433323734326563616261
30633361373863353366353861666665383562646236643666366336306332666261613462373861 65646130626234333039646136646463393365643833306562343165613766636133373463333465
64353234346137333738336235326230353531613532636664393561393334623064333032323665 38316538383964343164323238356461643632346365646536356265353933336466613838623335
31336134313439656362313166633364303639653866623162393362656661393563386434653134 34663630633062346562653964613831333165386538353636313565343536666465366438303136
63616637656236663632633339613432323335316535663531633639343732306661626565356561 65663336303239636239626662323730383834376436636562333164396631323035333862393832
323064636133396263656461336634336562 63646364343564383235376137303031653163393966656264646338366163633931613437393830
33643935353965393661323837646437306364396633636335346361316339326432306363376432
66333637336636396536656237623232326539326264363033393334616235626463623435373763
65396162336430336666373233636138363666613235323565336334353231613263383564633663
35653433383936623638393032363935666134323833306563393266663933653261383061303036
37393065643766643336616465663631316130653365366666613333363638663631303363636431
34333435616435386261383865356166396666633737613763303165396365616635346534616131
3437323335316432396363353138333163613830623165666666

@ -1,28 +1,22 @@
--- ---
docker_compose_directory: /etc/docker-compose docker_compose_directory: /etc/docker-compose
services: services:
# - name: gitea - name: gitea
# - name: mealie - name: mealie
# - name: linkding - name: linkding
# - name: overseerr - name: overseerr
# - name: nextcloud - name: nextcloud
# - name: dashboards - name: dashboards
# - name: nginx-proxy-manager - name: nginx-proxy-manager
# - name: plex - name: plex
# - name: uptime-kuma - name: uptime-kuma
# - name: vpn-stack - name: vpn-stack
- name: docker-volume-backup - name: docker-volume-backup
- name: mariadb - name: mariadb
- name: photoprism - name: photoprism
docker_networks: docker_networks:
- nextcloud_net - mariadb_net
aws_s3:
s3_url: "l8x8.ie11.idrivee2-6.com"
aws_access_key: "nyNMQ3fRMSV0bA1xw5uV"
region: "us-east-1"
bucket: "backups"
dashy: dashy:
destination_dir: /etc/config/dashy destination_dir: /etc/config/dashy
@ -33,3 +27,6 @@ olivetin:
destination_dir: /etc/config/olivetin destination_dir: /etc/config/olivetin
destination_file: config.yml destination_file: config.yml
source_file: olivetin/config.yml source_file: olivetin/config.yml
extra_hosts:
- "qnap:192.168.178.42"

@ -1,53 +0,0 @@
version: '3.5'
services:
photoprism:
image: photoprism/photoprism:latest
container_name: photoprism
restart: unless-stopped
security_opt:
- seccomp:unconfined
- apparmor:unconfined
ports:
- "2342:2342" # HTTP port (host:container)
environment:
PHOTOPRISM_ADMIN_PASSWORD: ${PHOTOPRISM_ADMIN_PASSWORD} # INITIAL PASSWORD FOR "admin" USER, MINIMUM 8 CHARACTERS
PHOTOPRISM_AUTH_MODE: "password" # authentication mode (public, password)
PHOTOPRISM_SITE_URL: "http://localhost:2342/" # public server URL incl http:// or https:// and /path, :port is optional
PHOTOPRISM_ORIGINALS_LIMIT: 5000 # file size limit for originals in MB (increase for high-res video)
PHOTOPRISM_HTTP_COMPRESSION: "gzip" # improves transfer speed and bandwidth utilization (none or gzip)
PHOTOPRISM_LOG_LEVEL: "info" # log level: trace, debug, info, warning, error, fatal, or panic
PHOTOPRISM_READONLY: "false" # do not modify originals directory (reduced functionality)
PHOTOPRISM_EXPERIMENTAL: "false" # enables experimental features
PHOTOPRISM_DISABLE_CHOWN: "false" # disables updating storage permissions via chmod and chown on startup
PHOTOPRISM_DISABLE_WEBDAV: "false" # disables built-in WebDAV server
PHOTOPRISM_DISABLE_SETTINGS: "false" # disables settings UI and API
PHOTOPRISM_DISABLE_TENSORFLOW: "false" # disables all features depending on TensorFlow
PHOTOPRISM_DISABLE_FACES: "false" # disables face detection and recognition (requires TensorFlow)
PHOTOPRISM_DISABLE_CLASSIFICATION: "false" # disables image classification (requires TensorFlow)
PHOTOPRISM_DISABLE_RAW: "false" # disables indexing and conversion of RAW files
PHOTOPRISM_RAW_PRESETS: "false" # enables applying user presets when converting RAW files (reduces performance)
PHOTOPRISM_JPEG_QUALITY: 85 # a higher value increases the quality and file size of JPEG images and thumbnails (25-100)
PHOTOPRISM_DETECT_NSFW: "false" # automatically flags photos as private that MAY be offensive (requires TensorFlow)
PHOTOPRISM_UPLOAD_NSFW: "true" # allows uploads that MAY be offensive (no effect without TensorFlow)
PHOTOPRISM_DATABASE_DRIVER: "mysql" # use MariaDB 10.5+ or MySQL 8+ instead of SQLite for improved performance
PHOTOPRISM_DATABASE_SERVER: "mariadb:3306" # MariaDB or MySQL database server (hostname:port)
PHOTOPRISM_DATABASE_NAME: "photoprism" # MariaDB or MySQL database schema name
PHOTOPRISM_DATABASE_USER: "photoprism" # MariaDB or MySQL database user name
PHOTOPRISM_DATABASE_PASSWORD: ${PHOTOPRISM_DATABASE_PASSWORD} # MariaDB or MySQL database user password
PHOTOPRISM_SITE_CAPTION: "AI-Powered Photos App"
PHOTOPRISM_SITE_DESCRIPTION: "" # meta site description
PHOTOPRISM_SITE_AUTHOR: "" # meta site author
## Share hardware devices with FFmpeg and TensorFlow (optional):
devices:
- "/dev/dri:/dev/dri" # Intel QSV
working_dir: "/photoprism" # do not change or remove
volumes:
- "/mnt/hdds/photoprism/originals:/photoprism/originals" # Original media files (DO NOT REMOVE)
- "/mnt/hdds/photoprism/import:/photoprism/import" # *Optional* base folder from which files can be imported to originals
- "/mnt/hdds/photoprism/storage:/photoprism/storage" # *Writable* storage folder for cache, database, and sidecar files (DO NOT REMOVE)
networks:
default:
name: nextcloud_net
external: true

@ -1,3 +1,4 @@
---
version: '3.5' version: '3.5'
services: services:
dash-dot: dash-dot:
@ -35,8 +36,7 @@ services:
retries: 3 retries: 3
start_period: 40s start_period: 40s
extra_hosts: extra_hosts: {{ extra_hosts }}
- "qnap:192.168.178.42"
glances: glances:
image: nicolargo/glances:latest-alpine image: nicolargo/glances:latest-alpine

@ -31,5 +31,5 @@ volumes:
networks: networks:
default: default:
name: nextcloud_net name: mariadb_net
external: true external: true

@ -1,3 +1,4 @@
---
version: '3.2' version: '3.2'
services: services:
nextcloud: nextcloud:
@ -15,5 +16,5 @@ volumes:
networks: networks:
default: default:
name: nextcloud_net name: mariadb_net
external: true external: true

@ -1,3 +1,4 @@
---
version: "3" version: "3"
services: services:
nginx-proxy-manager: nginx-proxy-manager:

@ -1,3 +1,4 @@
---
version: "3.8" version: "3.8"
services: services:
olivetin: olivetin:

@ -50,5 +50,5 @@ services:
networks: networks:
default: default:
name: nextcloud_net name: mariadb_net
external: true external: true

@ -39,4 +39,4 @@ services:
volumes: volumes:
config: config:
tautulli_config: tautulli_config:

@ -1,5 +1,5 @@
---
version: '3.3' version: '3.3'
services: services:
uptime-kuma: uptime-kuma:
labels: labels:

@ -1,14 +1,15 @@
---
version: "3" version: "3"
services: services:
surfshark: surfshark:
image: ilteoood/docker-surfshark image: ilteoood/docker-surfshark
container_name: surfshark container_name: surfshark
environment: environment:
- SURFSHARK_USER=${SURFSHARK_USER} - SURFSHARK_USER={{ vpn.surfshark_username }}
- SURFSHARK_PASSWORD=${SURFSHARK_PASSWORD} - SURFSHARK_PASSWORD={{ vpn.surfshark_password }}
# must specify LAN_NETWORK otherwise you will not be able # must specify LAN_NETWORK otherwise you will not be able
# to access ports which are exposed here. # to access ports which are exposed here.
- LAN_NETWORK=${LAN_NETWORK} - LAN_NETWORK={{ vpn.lan_network }}
cap_add: cap_add:
- NET_ADMIN - NET_ADMIN
devices: devices:
@ -107,4 +108,4 @@ volumes:
qbittorrent_config: qbittorrent_config:
radarr_config: radarr_config:
sonarr_config: sonarr_config:
jackett_config: jackett_config:

@ -5,7 +5,12 @@
- secrets-vault.yml - secrets-vault.yml
roles: roles:
- role: 'roles/setup_users' - role: 'roles/setup_users'
tags: ["users"]
- role: 'roles/setup_samba' - role: 'roles/setup_samba'
tags: ["samba"]
- role: 'roles/setup_docker' - role: 'roles/setup_docker'
tags: ["docker"]
- role: 'roles/setup_portainer' - role: 'roles/setup_portainer'
tags: ["portainer"]
- role: 'roles/setup_hosted_services' - role: 'roles/setup_hosted_services'
tags: ["services"]

Loading…
Cancel
Save