1ddd351242
* fix: use relative path for volumes * fix: null check oauth config * fix: attempt refresh if error is on /dashboard --------- Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>
32 lines
628 B
YAML
32 lines
628 B
YAML
version: '3'
|
|
services:
|
|
postgres:
|
|
image: postgres:15
|
|
environment:
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_PASSWORD=postgres
|
|
- POSTGRES_DATABASE=postgres
|
|
volumes:
|
|
- pg_data:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: ['CMD-SHELL', 'pg_isready -U postgres']
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
zipline:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- '3000:3000'
|
|
env_file:
|
|
- .env.local
|
|
volumes:
|
|
- './uploads:/zipline/uploads'
|
|
- './public:/zipline/public'
|
|
depends_on:
|
|
- 'postgres'
|
|
|
|
volumes:
|
|
pg_data:
|