hyperpipe

This commit is contained in:
Arya 2023-07-07 23:45:48 +05:30
parent 3f9c37c08f
commit bc6516e969
Signed by: arya
GPG Key ID: 842D12BDA50DF120
3 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,18 @@
version: '3'
services:
hyperpipe-frontend:
image: codeberg.org/hyperpipe/hyperpipe:latest
container_name: hyperpipe-frontend
restart: unless-stopped
entrypoint: sh -c 'find /usr/share/nginx/html -type f -exec sed -i s/pipedapi.kavin.rocks/pipedapi.{{ inventory_hostname }}.projectsegfau.lt/g {} \; -exec sed -i s/hyperpipeapi.onrender.com/hyperpipebackend.{{ inventory_hostname }}.projectsegfau.lt/g {} \; && /docker-entrypoint.sh && nginx -g "daemon off;"'
ports:
- '8843:80'
hyperpipe-backend:
image: codeberg.org/hyperpipe/hyperpipe-backend:latest
container_name: hyperpipe-backend
environment:
- HYP_PROXY=pipedproxy.{{ inventory_hostname }}.projectsegfau.lt
restart: unless-stopped
ports:
- '3536:3000'

View File

@ -60,6 +60,7 @@
vars:
non_pizza_docker_services:
- searxng
- hyperpipe
tasks:
# community.docker does not support compose 2.0 right now.
# https://github.com/ansible-collections/community.docker/issues/216

View File

@ -342,6 +342,13 @@ safetwitch.{{inventory_hostname}}.projectsegfau.lt safetwitch.projectsegfau.lt t
api.safetwitch.{{inventory_hostname}}.projectsegfau.lt {
reverse_proxy :5071
}
hyperpipe.{{inventory_hostname}}.projectsegfau.lt hyperpipe.projectsegfau.lt hp.psf.lt hp.{{inventory_hostname}}.psf.lt {
import def
reverse_proxy :8843
}
api.hyperpipebackend.{{inventory_hostname}}.projectsegfau.lt {
reverse_proxy :3536
}
{% if inventory_hostname == 'eu' %}
{% else %}
search.{{inventory_hostname}}.projectsegfau.lt s.psf.lt s.{{inventory_hostname}}.psf.lt {