Move tt-rss config out of config directory
This commit is contained in:
parent
689c0cecd9
commit
c80d4b7e04
2 changed files with 5 additions and 9 deletions
|
@ -8,7 +8,8 @@ services:
|
|||
- PGID={{ docker_user.id }}
|
||||
- TZ=Europe/London
|
||||
volumes:
|
||||
- ./config:/config
|
||||
- ./config.php:/config/config.php:ro
|
||||
- ./feed-icons:/config/feed-icons
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
|
@ -16,6 +17,8 @@ services:
|
|||
- traefik.http.routers.tt-rss.tls.certresolver=le
|
||||
depends_on:
|
||||
- db
|
||||
tmpfs:
|
||||
- /config/log
|
||||
|
||||
db:
|
||||
image: postgres:12-alpine
|
||||
|
|
|
@ -16,17 +16,10 @@
|
|||
register: compose_file
|
||||
become: true
|
||||
|
||||
- name: Create tt-rss config directory
|
||||
file:
|
||||
path: /opt/tt-rss/config
|
||||
state: directory
|
||||
mode: "{{ docker_compose_directory_mask }}"
|
||||
become: true
|
||||
|
||||
- name: Install tt-rss config
|
||||
template:
|
||||
src: files/tt-rss/config.php
|
||||
dest: /opt/tt-rss/config/config.php
|
||||
dest: /opt/tt-rss/config.php
|
||||
mode: "{{ docker_compose_file_mask }}"
|
||||
owner: "{{ docker_user.name }}"
|
||||
register: config_file
|
||||
|
|
Loading…
Reference in a new issue