0
0

Removed Libreddit

This commit is contained in:
Opnxng 2024-08-11 21:41:34 +08:00
parent 25e8e3e2e9
commit 11389f5995
21 changed files with 41 additions and 85 deletions

View File

@ -15,7 +15,7 @@ services:
- JWT_SIGNING_SECRET="{{ anonymousoverflow_jwt_secret }}" - JWT_SIGNING_SECRET="{{ anonymousoverflow_jwt_secret }}"
restart: unless-stopped restart: unless-stopped
ports: ports:
- '8898:8080' - 8898:8080
networks: networks:
- anonymousoverflow - anonymousoverflow

View File

@ -10,13 +10,13 @@ services:
- PGID=1000 - PGID=1000
- TZ=Asia/Singapore - TZ=Asia/Singapore
restart: unless-stopped restart: unless-stopped
ports:
- '8897:10416'
volumes: volumes:
- {{ docker_dir }}/breezewiki/config.ini:/app/config.ini - {{ docker_dir }}/breezewiki/config.ini:/app/config.ini
ports:
- 8897:10416
networks: networks:
- breezewiki - breezewiki
networks: networks:
breezewiki: breezewiki:
name: breezewiki name: breezewiki

View File

@ -11,14 +11,14 @@ services:
- PUID=1000 - PUID=1000
- PGID=1000 - PGID=1000
- TZ=Asia/Singapore - TZ=Asia/Singapore
ports:
- 8911:10412
depends_on: depends_on:
- newleaf - newleaf
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- {{ docker_dir }}/cloudtube/db:/workdir/db - {{ docker_dir }}/cloudtube/db:/workdir/db
- {{ docker_dir }}/cloudtube/config.js:/workdir/config/config.js #instance should be "http://newleaf:3000" - {{ docker_dir }}/cloudtube/config.js:/workdir/config/config.js #instance should be "http://newleaf:3000"
ports:
- 8911:10412
networks: networks:
- cloudtube - cloudtube

View File

@ -23,7 +23,7 @@ services:
# devices: # devices:
# - /dev/dri:/dev/dri # - /dev/dri:/dev/dri
ports: ports:
- '8893:8893' - 8893:8893
shm_size: "2gb" shm_size: "2gb"
restart: unless-stopped restart: unless-stopped
networks: networks:
@ -32,5 +32,3 @@ services:
networks: networks:
firefox: firefox:
name: firefox name: firefox

View File

@ -21,4 +21,4 @@ services:
networks: networks:
geoipupdate: geoipupdate:
name: geoipupdate name: geoipupdate

View File

@ -27,7 +27,7 @@ services:
depends_on: depends_on:
- gitea-db - gitea-db
ports: ports:
- "8885:3000" - 8885:3000
networks: networks:
- gitea - gitea

View File

@ -1,7 +1,7 @@
# {{ ansible_managed }} # {{ ansible_managed }}
services: services:
gothub: gothub:
image: codeberg.org/gothub/gothub:latest image: codeberg.org/gothub/gothub:latest
container_name: gothub container_name: gothub
security_opt: security_opt:
- no-new-privileges - no-new-privileges
@ -27,10 +27,10 @@ services:
retries: 2 retries: 2
restart: unless-stopped restart: unless-stopped
ports: ports:
- '8900:3000' - 8900:3000
networks: networks:
- gothub - gothub
networks: networks:
gothub: gothub:
name: gothub name: gothub

View File

@ -12,10 +12,10 @@ services:
- BUILDX_GIT_INFO=false - BUILDX_GIT_INFO=false
restart: unless-stopped restart: unless-stopped
ports: ports:
- '8899:8080' - 8899:8080
networks: networks:
- imgin - imgin
networks: networks:
imgin: imgin:
name: imgin name: imgin

View File

@ -68,7 +68,7 @@ services:
depends_on: depends_on:
- invidious - invidious
ports: ports:
- '8911:3000' - 8911:3000
networks: networks:
- invidious - invidious

View File

@ -17,4 +17,4 @@ services:
networks: networks:
it-tools: it-tools:
name: it-tools name: it-tools

View File

@ -1,42 +0,0 @@
# {{ ansible_managed }}
services:
libreddit-warp:
image: caomingjun/warp
container_name: libreddit-warp
restart: always
environment:
- WARP_SLEEP=2
cap_add:
- NET_ADMIN
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
- net.ipv4.conf.all.src_valid_mark=1
volumes:
- {{ docker_dir }}/libreddit:/var/lib/cloudflare-warp
ports:
- 8882:8080
networks:
- libreddit
libreddit:
container_name: libreddit
# image: libreddit/libreddit:latest
image: git.opnxng.com/opnxng/libreddit:latest
security_opt:
- no-new-privileges
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Singapore
- LIBREDDIT_DEFAULT_THEME=black
- LIBREDDIT_DEFAULT_SHOW_NSFW=on
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"]
interval: 5m
timeout: 3s
network_mode: "service:libreddit-warp"
networks:
libreddit:
name: libreddit

View File

@ -22,7 +22,7 @@ services:
- {{ docker_dir }}/ntfy/user.db:/var/lib/ntfy/user.db - {{ docker_dir }}/ntfy/user.db:/var/lib/ntfy/user.db
restart: unless-stopped restart: unless-stopped
ports: ports:
- '8894:80' - 8894:80
healthcheck: # optional: remember to adapt the host:port to your environment healthcheck: # optional: remember to adapt the host:port to your environment
test: ["CMD-SHELL", "wget -q --tries=1 http://localhost:80/v1/health -O - | grep -Eo '\"healthy\"\\s*:\\s*true' || exit 1"] test: ["CMD-SHELL", "wget -q --tries=1 http://localhost:80/v1/health -O - | grep -Eo '\"healthy\"\\s*:\\s*true' || exit 1"]
interval: 60s interval: 60s
@ -38,4 +38,4 @@ networks:
# touch {{ docker_dir }}/ntfy/cache.db && touch {{ docker_dir }}/ntfy/user.db # touch {{ docker_dir }}/ntfy/cache.db && touch {{ docker_dir }}/ntfy/user.db
# docker exec -it ntfy ntfy user add --role=admin opnxng # docker exec -it ntfy ntfy user add --role=admin opnxng
# docker exec -it ntfy ntfy token add opnxng # docker exec -it ntfy ntfy token add opnxng

View File

@ -15,7 +15,7 @@ services:
- PUBLIC_LOCK_TO_INSTANCE=false - PUBLIC_LOCK_TO_INSTANCE=false
restart: unless-stopped restart: unless-stopped
ports: ports:
- '8903:3000' - 8903:3000
networks: networks:
- photon - photon

View File

@ -7,11 +7,11 @@ services:
- no-new-privileges - no-new-privileges
environment: environment:
- TZ=Asia/Singapore - TZ=Asia/Singapore
restart: unless-stopped restart: unless-stopped
ports:
- 8884:8080
volumes: volumes:
- {{ docker_dir }}/privatebin/data:/srv/data - {{ docker_dir }}/privatebin/data:/srv/data
ports:
- 8884:8080
networks: networks:
- privatebin - privatebin
@ -19,4 +19,4 @@ networks:
privatebin: privatebin:
name: privatebin name: privatebin
# sudo chown -R 65534:82 {{ docker_dir }}/privatebin/data # sudo chown -R 65534:82 {{ docker_dir }}/privatebin/data

View File

@ -24,13 +24,7 @@ services:
command: valkey-server --save 30 1 --loglevel warning command: valkey-server --save 30 1 --loglevel warning
security_opt: security_opt:
- no-new-privileges - no-new-privileges
environment: user: 999:1000
#- PUID=1000
#- PGID=1000
- TZ=Asia/Singapore
volumes:
- {{ docker_dir }}/priviblur/valkey-data:/data
user: "999:1000"
read_only: true read_only: true
cap_drop: cap_drop:
- ALL - ALL
@ -38,6 +32,12 @@ services:
- SETGID - SETGID
- SETUID - SETUID
- DAC_OVERRIDE - DAC_OVERRIDE
environment:
#- PUID=1000
#- PGID=1000
- TZ=Asia/Singapore
volumes:
- {{ docker_dir }}/priviblur/valkey-data:/data
restart: unless-stopped restart: unless-stopped
networks: networks:
- priviblur - priviblur

View File

@ -30,7 +30,7 @@ services:
- signer - signer
networks: networks:
- proxitok - proxitok
proxitok-redis: proxitok-redis:
container_name: proxitok-redis container_name: proxitok-redis
image: redis:alpine image: redis:alpine
@ -70,4 +70,4 @@ services:
networks: networks:
proxitok: proxitok:
name: proxitok name: proxitok

View File

@ -13,10 +13,10 @@ services:
- PORT=3000 - PORT=3000
ports: ports:
- 8904:3000 - 8904:3000
restart: unless-stopped restart: unless-stopped
networks: networks:
- quetre - quetre
networks: networks:
quetre: quetre:
name: quetre name: quetre

View File

@ -11,10 +11,10 @@ services:
- TZ=Asia/Singapore - TZ=Asia/Singapore
restart: unless-stopped restart: unless-stopped
ports: ports:
- '8910:8886' - 8910:8886
networks: networks:
- rat-aint-tieba - rat-aint-tieba
networks: networks:
rat-aint-tieba: rat-aint-tieba:
name: rat-aint-tieba name: rat-aint-tieba

View File

@ -28,4 +28,4 @@ networks:
name: runner name: runner
# DinD containers cannot resolve *.github.com unless daemon.json is mounted # DinD containers cannot resolve *.github.com unless daemon.json is mounted
# https://gitea.com/gitea/act_runner/issues/381#issuecomment-755182 # https://gitea.com/gitea/act_runner/issues/381#issuecomment-755182

View File

@ -12,10 +12,10 @@ services:
- CUSTOM_LEMMY_SERVERS=lemm.ee,lemmy.pussthecat.org,lemmy.ml,hexbear.net,sh.itjust.works,beehaw.org,lemmy.world - CUSTOM_LEMMY_SERVERS=lemm.ee,lemmy.pussthecat.org,lemmy.ml,hexbear.net,sh.itjust.works,beehaw.org,lemmy.world
restart: unless-stopped restart: unless-stopped
ports: ports:
- '8895:5314' - 8895:5314
networks: networks:
- voyager - voyager
networks: networks:
voyager: voyager:
name: voyager name: voyager

View File

@ -11,10 +11,10 @@ services:
- TZ=Asia/Singapore - TZ=Asia/Singapore
restart: unless-stopped restart: unless-stopped
ports: ports:
- '8906:80' - 8906:80
networks: networks:
- wolfree - wolfree
networks: networks:
wolfree: wolfree:
name: wolfree name: wolfree