Update vencloud

This commit is contained in:
2024-09-19 10:46:25 -03:00
parent 3f4b1b11b8
commit 63b213fff9
2 changed files with 14 additions and 33 deletions

View File

@ -2,6 +2,7 @@ version: "3.1"
services:
redis:
container_name: vencloud_redis
image: redis:alpine
restart: always
volumes:
@ -15,11 +16,20 @@ services:
retries: 5
backend:
image: vencord/backend
build: .
image: ghcr.io/vencord/vencloud:main
restart: always
environment:
- PORT=8080 # Port and host to bind the server to. If running in Docker, there's no point changing them.
- HOST=0.0.0.0
- REDIS_URI=redis:6379 # The URI used for connecting to redis
- ROOT_REDIRECT=https://github.com/Vencord/Vencloud
- PROMETHEUS=true # Whether to enable and expose analytics at /metrics
- PROXY_HEADER=X-Forwarded-For # If not using a reverse proxy, leave this empty
- SIZE_LIMIT=32000000 # The maximum settings backup size in bytes. Default is 32MB.
- DISCORD_REDIRECT_URI=https://vencloud.shoebottom.ca/v1/oauth/callback # Under "Redirects", click "Add Redirect" and add your domain with `/v1/oauth/callback` appended to it
- ALLOWED_USERS= # List of Discord user IDs allowed to use the service, separated by commas.
env_file:
- .env
- ../stack.env
depends_on:
redis:
condition: service_healthy