pizza1 support for hyperpipe

This commit is contained in:
Arya 2023-07-09 13:57:44 +05:30
parent cdb4efe698
commit e5c0373bed
Signed by: arya
GPG Key ID: 842D12BDA50DF120
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ services:
image: codeberg.org/hyperpipe/hyperpipe:latest image: codeberg.org/hyperpipe/hyperpipe:latest
container_name: hyperpipe-frontend container_name: hyperpipe-frontend
restart: unless-stopped 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;"' entrypoint: sh -c 'find /usr/share/nginx/html -type f -exec sed -i s/pipedapi.kavin.rocks/{% if inventory_hostname == 'eu' %}api.piped.projectsegfau.lt{%else%}pipedapi.{{inventory_hostname}}.projectsegfau.lt{%endif%}/g {} \; -exec sed -i s/hyperpipeapi.onrender.com/hyperpipebackend.{{ inventory_hostname }}.projectsegfau.lt/g {} \; && /docker-entrypoint.sh && nginx -g "daemon off;"'
ports: ports:
- '8843:80' - '8843:80'
hyperpipe-backend: hyperpipe-backend:

View File

@ -48,6 +48,7 @@
- simplytranslate - simplytranslate
- teddit - teddit
- watchtower - watchtower
- 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
@ -60,7 +61,6 @@
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