2023-02-23 19:00:59 -05:00
|
|
|
version: '3.8'
|
|
|
|
services:
|
|
|
|
app:
|
2023-03-21 20:01:02 -05:00
|
|
|
build:
|
|
|
|
context: ./
|
|
|
|
dockerfile: Dockerfile
|
2023-02-23 19:00:59 -05:00
|
|
|
volumes:
|
2023-03-21 20:01:02 -05:00
|
|
|
- ../:/zipline:cached
|
|
|
|
- uploads:/zipline/uploads
|
|
|
|
- node_modules:/zipline/node_modules
|
2023-02-23 19:00:59 -05:00
|
|
|
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:
|
2023-03-21 20:01:02 -05:00
|
|
|
uploads:
|
|
|
|
node_modules:
|