zipline/.devcontainer/docker-compose.yml
Jayvin Hernandez c0d1b3d887
fix: fine tune devcontainer (#329)
Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>
2023-03-21 18:01:02 -07:00

25 lines
No EOL
515 B
YAML

version: '3.8'
services:
app:
build:
context: ./
dockerfile: Dockerfile
volumes:
- ../:/zipline:cached
- uploads:/zipline/uploads
- node_modules:/zipline/node_modules
command: sleep infinity
db:
image: postgres:latest
restart: unless-stopped
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DATABASE=postgres
volumes:
- pg_data:/var/lib/postgresql/data
volumes:
pg_data:
uploads:
node_modules: