This commit is contained in:
Liam 2022-10-26 15:07:33 +01:00
parent e6002d4868
commit 095a4d289a
2 changed files with 4 additions and 1 deletions

View File

@ -1,15 +1,16 @@
services:
beatsaber-overlay:
image: fascinated/beatsaber-overlay:latest
restart: always
env_file:
- .env.production
ports:
- 3000:3000
depends_on:
- redis
redis:
image: bitnami/redis:latest
restart: always
environment:
- REDIS_PASSWORD=<PASSWORD>
command: /opt/bitnami/scripts/redis/run.sh --maxmemory 512mb

View File

@ -13,6 +13,8 @@ test -n "$NEXT_PUBLIC_SITE_COLOR"
echo "Check that we have NEXT_PUBLIC_SITE_URL vars"
test -n "$NEXT_PUBLIC_SITE_URL"
echo find /app/.next \( -type d -name .git -prune \) -o -type f -print0 | xargs -0
find /app/.next \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s#APP_NEXT_PUBLIC_HTTP_PROXY#$NEXT_PUBLIC_HTTP_PROXY#g"
find /app/.next \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s#APP_NEXT_PUBLIC_SITE_NAME#$NEXT_PUBLIC_SITE_NAME#g"
find /app/.next \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s#APP_NEXT_PUBLIC_SITE_TITLE#$NEXT_PUBLIC_SITE_TITLE#g"