compose/vencloud/docker-compose.yml

39 lines
1.5 KiB
YAML
Raw Normal View History

version: "3.1"
services:
redis:
2024-09-19 10:46:25 -03:00
container_name: vencloud_redis
image: redis:alpine
restart: always
volumes:
- /docker/appdata/vencloud/redis:/data
environment:
REDIS_ARGS: --save 300 1 60 10
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
timeout: 5s
retries: 5
backend:
2024-09-19 10:47:02 -03:00
container_name: vencloud_backend
2024-09-19 10:46:25 -03:00
image: ghcr.io/vencord/vencloud:main
restart: always
2024-09-19 10:48:46 -03:00
ports:
- 8485:8080
2024-09-19 10:46:25 -03:00
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
2024-09-19 10:52:14 -03:00
- ALLOWED_USERS=263739756930793472 # List of Discord user IDs allowed to use the service, separated by commas.
env_file:
2024-09-19 10:46:25 -03:00
- ../stack.env
depends_on:
redis:
condition: service_healthy