YT-Automation / docker-compose.yml
Vinoth
feat: switch to Supabase cloud database and optimize for cloud deployment
9d8ff93
Raw History Blame Contribute Delete
605 Bytes
version: '3.8'
services:
db:
image: postgres:15
restart: always
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: password
POSTGRES_DB: yt_automation
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
bot:
build: .
depends_on:
- db
env_file:
- .env
environment:
- POSTGRES_URL=postgresql+asyncpg://user:password@db/yt_automation
volumes:
- ./outputs:/app/outputs
- ./assets:/app/assets
- ./credentials:/app/credentials
- ./temp:/app/temp
volumes:
postgres_data: