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

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

@ -13,6 +13,8 @@ test -n "$NEXT_PUBLIC_SITE_COLOR"
echo "Check that we have NEXT_PUBLIC_SITE_URL vars" echo "Check that we have NEXT_PUBLIC_SITE_URL vars"
test -n "$NEXT_PUBLIC_SITE_URL" 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_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_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" 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"