hyperpipe move end

This commit is contained in:
Arya 2024-01-08 21:41:54 +05:30
parent 1e06b9d0a9
commit 411fc1bbcc
Signed by: arya
GPG Key ID: 842D12BDA50DF120

View File

@ -6,22 +6,6 @@ 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;" && echo daemon off\; >> /etc/nginx/nginx.conf'
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
@ -257,3 +241,19 @@ apps:
WATCHTOWER_POLL_INTERVAL: 3600 WATCHTOWER_POLL_INTERVAL: 3600
WATCHTOWER_MONITOR_ONLY: false WATCHTOWER_MONITOR_ONLY: false
WATCHTOWER_NOTIFICATION_URL: "matrix://{{watchtower_mtrx_username}}:{{watchtower_mtrx_pass}}@matrix.envs.net/" WATCHTOWER_NOTIFICATION_URL: "matrix://{{watchtower_mtrx_username}}:{{watchtower_mtrx_pass}}@matrix.envs.net/"
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;" && echo daemon off\; >> /etc/nginx/nginx.conf'
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"