syntax fixes

This commit is contained in:
Arya 2024-01-08 20:58:50 +05:30
parent 218fc3aaf7
commit 2ad60695af
Signed by: arya
GPG Key ID: 842D12BDA50DF120

View File

@ -6,6 +6,22 @@ compose_dir: "/opt/docker-privfrontends"
data_dir: "/opt/data-privfrontends" data_dir: "/opt/data-privfrontends"
apps: apps:
groups: groups:
hyperpipe:
needs_configs_dir: false
needs_data_dir: false
docker_settings:
services:
- name: frontend
image: codeberg.org/hyperpipe/hyperpipe
entrypoint: sh -c 'find /usr/share/nginx/html -type f -exec sed -i s/pipedapi.kavin.rocks/{% if server_prefix == 'eu' %}api.piped.projectsegfau.lt{%else%}pipedapi.{{server_prefix}}.projectsegfau.lt{%endif%}/g {} \; -exec sed -i s/hyperpipeapi.onrender.com/hyperpipebackend.{{ server_prefix }}.projectsegfau.lt/g {} \; && /docker-entrypoint.sh && nginx -g "daemon off;"'
ports:
- "8843:80"
- name: backend
image: codeberg.org/hyperpipe/hyperpipe-backend
environment:
HYP_PROXY: "{% if server_prefix == 'eu' %}proxy.piped.projectsegfau.lt{%else%}pipedproxy.{{server_prefix}}.projectsegfau.lt{%endif%}"
ports:
- "3536:3000"
anonymousoverflow: anonymousoverflow:
needs_configs_dir: false needs_configs_dir: false
needs_data_dir: false needs_data_dir: false
@ -55,7 +71,7 @@ apps:
needs_data_dir: false needs_data_dir: false
docker_settings: docker_settings:
services: services:
- name: gothub - name: gothub-dev
image: codeberg.org/gothub/gothub:dev image: codeberg.org/gothub/gothub:dev
environment: environment:
DOCKER: true DOCKER: true
@ -71,22 +87,6 @@ apps:
GOTHUB_INSTANCE_CLOUDFLARE: false GOTHUB_INSTANCE_CLOUDFLARE: false
ports: ports:
- "1025:3000" - "1025:3000"
hyperpipe:
needs_configs_dir: false
needs_data_dir: false
docker_settings:
services:
- name: frontend
image: codeberg.org/hyperpipe/hyperpipe
entrypoint: sh -c 'find /usr/share/nginx/html -type f -exec sed -i s/pipedapi.kavin.rocks/{% if server_prefix == 'eu' %}api.piped.projectsegfau.lt{%else%}pipedapi.{{server_prefix}}.projectsegfau.lt{%endif%}/g {} \; -exec sed -i s/hyperpipeapi.onrender.com/hyperpipebackend.{{ server_prefix }}.projectsegfau.lt/g {} \; && /docker-entrypoint.sh && nginx -g "daemon off;"'
ports:
- "8843:80"
- name: backend
image: codeberg.org/hyperpipe/hyperpipe-backend
environment:
HYP_PROXY: "{% if server_prefix == 'eu' %}proxy.piped.projectsegfau.lt{%else%}pipedproxy.{{server_prefix}}.projectsegfau.lt{%endif%}"
ports:
- "3536:3000"
librarian: librarian:
needs_configs_dir: true needs_configs_dir: true
needs_data_dir: false needs_data_dir: false
@ -163,7 +163,7 @@ apps:
ports: ports:
- "5070:8280" - "5070:8280"
environment: environment:
SAFETWITCH_BACKEND_DOMAIN: api.safetwitch.{{server_prefix}}.projectsegfau.lt SAFETWITCH_BACKEND_DOMAIN: "api.safetwitch.{{server_prefix}}.projectsegfau.lt"
SAFETWITCH_INSTANCE_DOMAIN: safetwitch.projectsegfau.lt SAFETWITCH_INSTANCE_DOMAIN: safetwitch.projectsegfau.lt
SAFETWITCH_HTTPS: true SAFETWITCH_HTTPS: true
- name: backend - name: backend
@ -172,7 +172,7 @@ apps:
- "5072:7000" - "5072:7000"
environment: environment:
PORT: 7000 PORT: 7000
URL: https://api.safetwitch.{{server_prefix}}.projectsegfau.lt URL: "https://api.safetwitch.{{server_prefix}}.projectsegfau.lt"
scribe: scribe:
needs_configs_dir: false needs_configs_dir: false
needs_data_dir: false needs_data_dir: false
@ -203,7 +203,7 @@ apps:
- "{{configs_dir}}/searxng/settings.yml:/etc/searxng/settings.yml:rw" - "{{configs_dir}}/searxng/settings.yml:/etc/searxng/settings.yml:rw"
environment: environment:
SEARXNG_BASE_URL: "https://{% if server_prefix == 'eu' %}search.projectsegfau.lt{%else%}search.{{inventory_hostname}}.projectsegfau.lt{%endif%}/" SEARXNG_BASE_URL: "https://{% if server_prefix == 'eu' %}search.projectsegfau.lt{%else%}search.{{inventory_hostname}}.projectsegfau.lt{%endif%}/"
- name: redis - name: searxng-redis
image: redis:alpine image: redis:alpine
command: redis-server --save 30 1 --loglevel warning command: redis-server --save 30 1 --loglevel warning
mounts: mounts:
@ -233,7 +233,7 @@ apps:
USE_HELMET: true USE_HELMET: true
TRUST_PROXY: true TRUST_PROXY: true
REDIS_HOST: teddit-redis REDIS_HOST: teddit-redis
- name: redis - name: teddit-redis
image: redis:6.2.5-alpine image: redis:6.2.5-alpine
command: redis-server command: redis-server
environment: environment: