Deploy libreddit
This commit is contained in:
parent
fab7be68c5
commit
558709ce6f
@ -83,7 +83,7 @@
|
|||||||
state: started
|
state: started
|
||||||
restart_policy: unless-stopped
|
restart_policy: unless-stopped
|
||||||
pull: yes
|
pull: yes
|
||||||
tasks:
|
pre_tasks:
|
||||||
- name: ensure docker network
|
- name: ensure docker network
|
||||||
docker_network: name=web
|
docker_network: name=web
|
||||||
tags: [ docker ]
|
tags: [ docker ]
|
||||||
@ -91,6 +91,7 @@
|
|||||||
include_tasks: tasks/{{ item }}
|
include_tasks: tasks/{{ item }}
|
||||||
with_items:
|
with_items:
|
||||||
- app/redis.yml
|
- app/redis.yml
|
||||||
|
- web/libreddit.yml
|
||||||
- web/peertube.yml
|
- web/peertube.yml
|
||||||
- web/pleroma.yml
|
- web/pleroma.yml
|
||||||
tags: [ always ]
|
tags: [ always ]
|
||||||
@ -107,6 +108,8 @@
|
|||||||
proxy_pass: http://pleroma:4000
|
proxy_pass: http://pleroma:4000
|
||||||
- name: tube.cowfee.moe
|
- name: tube.cowfee.moe
|
||||||
proxy_pass: http://peertube:9000
|
proxy_pass: http://peertube:9000
|
||||||
|
- name: lr.cowfee.moe
|
||||||
|
proxy_pass: http://libreddit:8080
|
||||||
tags: [ web, docker, ingress ]
|
tags: [ web, docker, ingress ]
|
||||||
- hosts: web3.dallas.mgmt.desu.ltd
|
- hosts: web3.dallas.mgmt.desu.ltd
|
||||||
module_defaults:
|
module_defaults:
|
||||||
|
19
playbooks/tasks/web/libreddit.yml
Normal file
19
playbooks/tasks/web/libreddit.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# vim:ft=ansible:
|
||||||
|
- name: docker deploy libreddit
|
||||||
|
docker_container:
|
||||||
|
name: libreddit
|
||||||
|
image: spikecodes/libreddit:latest
|
||||||
|
env:
|
||||||
|
LIBREDDIT_DEFAULT_THEME: "laserwave"
|
||||||
|
LIBREDDIT_DEFAULT_FRONT_PAGE: "all"
|
||||||
|
LIBREDDIT_DEFAULT_LAYOUT: "compact"
|
||||||
|
LIBREDDIT_DEFAULT_WIDE: "on"
|
||||||
|
LIBREDDIT_DEFAULT_COMMENT_SORT: "hot"
|
||||||
|
LIBREDDIT_DEFAULT_POST_SORT: "confidence"
|
||||||
|
LIBREDDIT_DEFAULT_SHOW_NSFW: "on"
|
||||||
|
LIBREDDIT_DEFAULT_USE_HLS: "on"
|
||||||
|
LIBREDDIT_DEFAULT_HIDE_HLS_NOTIFICATION: "on"
|
||||||
|
networks:
|
||||||
|
- name: web
|
||||||
|
aliases: [ "libreddit" ]
|
||||||
|
tags: [ docker, libreddit ]
|
Loading…
Reference in New Issue
Block a user