Api-Radison / docker-compose.yml
Hiren122's picture
Create docker-compose.yml
36df2e0 verified
raw
history blame contribute delete
637 Bytes
version: "3.9"
services:
postgres:
image: postgres:16
restart: always
environment:
POSTGRES_USER: unkey
POSTGRES_PASSWORD: unkey
POSTGRES_DB: unkey
volumes:
- pgdata:/var/lib/postgresql/data
redis:
image: redis:7
restart: always
unkey:
image: ghcr.io/unkeyed/unkey:latest
depends_on:
- postgres
- redis
ports:
- "8080:8080"
environment:
DATABASE_URL: postgres://unkey:unkey@postgres:5432/unkey
REDIS_URL: redis://redis:6379
ROOT_KEY: unkey_radison_master_key
PUBLIC_URL: https://radison-unkey.hf.space
volumes:
pgdata: