Move TT-RSS into ZFS pool

This commit is contained in:
Jake Howard 2020-08-21 15:29:41 +01:00
parent 35266e975d
commit 2866cd0602
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 4 additions and 4 deletions

View file

@ -8,8 +8,8 @@ services:
- PGID={{ docker_user.id }} - PGID={{ docker_user.id }}
- TZ=Europe/London - TZ=Europe/London
volumes: volumes:
- ./config.php:/config/config.php:ro - /mnt/tank/app-data/tt-rss/config.php:/config/config.php:ro
- ./feed-icons:/config/feed-icons - /mnt/tank/app-data/tt-rss/feed-icons:/config/feed-icons
restart: unless-stopped restart: unless-stopped
labels: labels:
- traefik.enable=true - traefik.enable=true
@ -24,7 +24,7 @@ services:
image: postgres:12-alpine image: postgres:12-alpine
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ./postgres:/var/lib/postgresql/data - /mnt/tank/dbs/postgres/tt-rss:/var/lib/postgresql/data
environment: environment:
- POSTGRES_PASSWORD=tt-rss - POSTGRES_PASSWORD=tt-rss
- POSTGRES_USER=tt-rss - POSTGRES_USER=tt-rss

View file

@ -19,7 +19,7 @@
- name: Install tt-rss config - name: Install tt-rss config
template: template:
src: files/tt-rss/config.php src: files/tt-rss/config.php
dest: /opt/tt-rss/config.php dest: /mnt/tank/app-data/tt-rss/config.php
mode: "{{ docker_compose_file_mask }}" mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}" owner: "{{ docker_user.name }}"
register: config_file register: config_file