
* bump playwright and run tests with 3.13 * test with psycopg3 * typo * update everything for psycopg 3.
25 lines
545 B
YAML
25 lines
545 B
YAML
# Use this override file to run the app in prod mode with postgres and redis
|
|
# docker compose -f compose.yaml -f compose.prod.yaml up -d
|
|
services:
|
|
db:
|
|
image: postgres
|
|
restart: always
|
|
environment:
|
|
POSTGRES_PASSWORD: secret
|
|
volumes:
|
|
- postgres-data:/var/lib/postgresql/data
|
|
|
|
redis:
|
|
image: redis
|
|
restart: always
|
|
|
|
app:
|
|
environment:
|
|
DB_URL: postgresql+psycopg://postgres:secret@db/postgres
|
|
REDIS_URL: redis://redis:6379
|
|
depends_on:
|
|
- db
|
|
- redis
|
|
|
|
volumes:
|
|
postgres-data: |