hyperpipe
This commit is contained in:
parent
3f9c37c08f
commit
bc6516e969
18
privfrontends/compose/hyperpipe/compose.yml.j2
Normal file
18
privfrontends/compose/hyperpipe/compose.yml.j2
Normal 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'
|
@ -60,6 +60,7 @@
|
|||||||
vars:
|
vars:
|
||||||
non_pizza_docker_services:
|
non_pizza_docker_services:
|
||||||
- searxng
|
- searxng
|
||||||
|
- hyperpipe
|
||||||
tasks:
|
tasks:
|
||||||
# community.docker does not support compose 2.0 right now.
|
# community.docker does not support compose 2.0 right now.
|
||||||
# https://github.com/ansible-collections/community.docker/issues/216
|
# https://github.com/ansible-collections/community.docker/issues/216
|
||||||
|
@ -342,6 +342,13 @@ safetwitch.{{inventory_hostname}}.projectsegfau.lt safetwitch.projectsegfau.lt t
|
|||||||
api.safetwitch.{{inventory_hostname}}.projectsegfau.lt {
|
api.safetwitch.{{inventory_hostname}}.projectsegfau.lt {
|
||||||
reverse_proxy :5071
|
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' %}
|
{% if inventory_hostname == 'eu' %}
|
||||||
{% else %}
|
{% else %}
|
||||||
search.{{inventory_hostname}}.projectsegfau.lt s.psf.lt s.{{inventory_hostname}}.psf.lt {
|
search.{{inventory_hostname}}.projectsegfau.lt s.psf.lt s.{{inventory_hostname}}.psf.lt {
|
||||||
|
Loading…
Reference in New Issue
Block a user