2023-07-07 23:45:48 +05:30
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
hyperpipe-frontend:
|
|
|
|
image: codeberg.org/hyperpipe/hyperpipe:latest
|
|
|
|
container_name: hyperpipe-frontend
|
|
|
|
restart: unless-stopped
|
2023-07-19 19:50:55 +05:30
|
|
|
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;"'
|
2023-07-07 23:45:48 +05:30
|
|
|
ports:
|
|
|
|
- '8843:80'
|
|
|
|
hyperpipe-backend:
|
|
|
|
image: codeberg.org/hyperpipe/hyperpipe-backend:latest
|
|
|
|
container_name: hyperpipe-backend
|
|
|
|
environment:
|
2023-07-19 19:50:55 +05:30
|
|
|
- HYP_PROXY={% if server_prefix == 'eu' %}proxy.piped.projectsegfau.lt{%else%}pipedproxy.{{server_prefix}}.projectsegfau.lt{%endif%}
|
2023-07-09 14:21:35 +05:30
|
|
|
|
2023-07-07 23:45:48 +05:30
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
|
|
- '3536:3000'
|