forked from data.coop/ansible
Remove fider and tt-rss.
This commit is contained in:
parent
7b60ae1c28
commit
e806ffc3ad
|
@ -12,7 +12,6 @@
|
||||||
- openldap
|
- openldap
|
||||||
- thelounge
|
- thelounge
|
||||||
- nextcloud
|
- nextcloud
|
||||||
- fider
|
|
||||||
- passit
|
- passit
|
||||||
- gitea
|
- gitea
|
||||||
- postfix
|
- postfix
|
||||||
|
@ -28,7 +27,6 @@
|
||||||
- mailu
|
- mailu
|
||||||
- portainer
|
- portainer
|
||||||
- mastodon
|
- mastodon
|
||||||
# - tt-rss
|
|
||||||
|
|
||||||
smtp_host: "postfix"
|
smtp_host: "postfix"
|
||||||
smtp_port: "587"
|
smtp_port: "587"
|
||||||
|
|
|
@ -1,47 +0,0 @@
|
||||||
---
|
|
||||||
|
|
||||||
- name: fider network
|
|
||||||
docker_network:
|
|
||||||
name: fider
|
|
||||||
|
|
||||||
- name: fider database volume
|
|
||||||
docker_volume:
|
|
||||||
name: fider_db
|
|
||||||
|
|
||||||
- name: fider database container
|
|
||||||
docker_container:
|
|
||||||
name: fider_db
|
|
||||||
image: postgres:10
|
|
||||||
state: started
|
|
||||||
restart_policy: always
|
|
||||||
networks:
|
|
||||||
- name: fider
|
|
||||||
volumes:
|
|
||||||
- fider_db:/var/lib/postgresql/data
|
|
||||||
env:
|
|
||||||
POSTGRES_USER: "fider"
|
|
||||||
POSTGRES_PASSWORD: "{{ postgres_passwords.fider }}"
|
|
||||||
|
|
||||||
- name: fider app container
|
|
||||||
docker_container:
|
|
||||||
name: fider
|
|
||||||
image: getfider/fider:stable
|
|
||||||
restart_policy: always
|
|
||||||
networks:
|
|
||||||
- name: fider
|
|
||||||
- name: external_services
|
|
||||||
- name: postfix
|
|
||||||
env:
|
|
||||||
GO_ENV: "production"
|
|
||||||
DATABASE_URL: "postgres://fider:{{ postgres_passwords.fider }}@fider_db:5432/fider?sslmode=disable"
|
|
||||||
JWT_SECRET: "{{ fider_jwt_secret }}"
|
|
||||||
|
|
||||||
EMAIL_NOREPLY: noreply@{{ fider.domain }}
|
|
||||||
EMAIL_SMTP_HOST: "{{ smtp_host }}"
|
|
||||||
EMAIL_SMTP_PORT: "{{ smtp_port }}"
|
|
||||||
EMAIL_SMTP_USERNAME: "noop"
|
|
||||||
EMAIL_SMTP_PASSWORD: "noop"
|
|
||||||
|
|
||||||
VIRTUAL_HOST: "{{ fider.domain }}"
|
|
||||||
LETSENCRYPT_HOST: "{{ fider.domain }}"
|
|
||||||
LETSENCRYPT_EMAIL: "{{ letsencrypt_email}}"
|
|
|
@ -1,53 +0,0 @@
|
||||||
---
|
|
||||||
- name: create tt-rss folders
|
|
||||||
file:
|
|
||||||
name: "{{ ttrss.volume_folder }}/{{ volume }}"
|
|
||||||
state: directory
|
|
||||||
loop:
|
|
||||||
- "config"
|
|
||||||
- "db"
|
|
||||||
loop_control:
|
|
||||||
loop_var: volume
|
|
||||||
|
|
||||||
- name: "set up tt-rss"
|
|
||||||
docker_compose:
|
|
||||||
project_name: "tt-rss"
|
|
||||||
pull: yes
|
|
||||||
definition:
|
|
||||||
version: "3.6"
|
|
||||||
services:
|
|
||||||
ttrss_db:
|
|
||||||
container_name: "ttrss_db"
|
|
||||||
image: "postgres:11"
|
|
||||||
restart: "unless-stopped"
|
|
||||||
networks:
|
|
||||||
- "ttrss"
|
|
||||||
volumes:
|
|
||||||
- "{{ ttrss.volume_folder }}/db:/var/lib/postgresql/data"
|
|
||||||
environment:
|
|
||||||
POSTGRES_USER: "ttrss"
|
|
||||||
POSTGRES_PASSWORD: "{{ postgres_passwords.ttrss }}"
|
|
||||||
|
|
||||||
ttrss_app:
|
|
||||||
container_name: ttrss_app
|
|
||||||
image: "linuxserver/tt-rss"
|
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
- ttrss
|
|
||||||
- external_services
|
|
||||||
volumes:
|
|
||||||
- "{{ ttrss.volume_folder }}/config:/config"
|
|
||||||
environment:
|
|
||||||
VIRTUAL_HOST: "{{ ttrss.domain }}"
|
|
||||||
LETSENCRYPT_HOST: "{{ ttrss.domain }}"
|
|
||||||
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
|
|
||||||
TZ: "Europe/Copenhagen"
|
|
||||||
labels:
|
|
||||||
com.centurylinklabs.watchtower.enable: "true"
|
|
||||||
|
|
||||||
networks:
|
|
||||||
external_services:
|
|
||||||
external:
|
|
||||||
name: external_services
|
|
||||||
ttrss:
|
|
||||||
name: "ttrss"
|
|
Loading…
Reference in a new issue