2023-10-15 14:17:45 -04:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
db:
|
|
|
|
image: postgres:latest
|
|
|
|
volumes:
|
|
|
|
- ./db:/var/lib/postgresql/data
|
|
|
|
environment:
|
2024-02-17 14:02:30 -05:00
|
|
|
- POSTGRES_PASSWORD=password
|
|
|
|
- POSTGRES_USER=bwcontest
|
|
|
|
- POSTGRES_DB=bwcontest
|
2024-01-16 19:54:32 -05:00
|
|
|
restart: unless-stopped
|
2023-10-15 14:17:45 -04:00
|
|
|
web:
|
2024-03-11 13:32:23 -04:00
|
|
|
build:
|
|
|
|
context: ../
|
|
|
|
dockerfile: ./web/Dockerfile
|
2023-10-15 14:17:45 -04:00
|
|
|
ports:
|
2024-03-11 17:39:43 -04:00
|
|
|
- 3000:3000
|
|
|
|
- 7006:7006
|
2023-10-15 14:17:45 -04:00
|
|
|
environment:
|
2024-03-11 13:50:02 -04:00
|
|
|
- DATABASE_URL=${DATABASE_URL}
|
2024-03-11 17:39:43 -04:00
|
|
|
- GIT_PORT=7006
|
|
|
|
- ORIGIN=${ORIGIN}
|
|
|
|
- WEB_SANDBOX_SECRET=${WEB_SANDBOX_SECRET}
|
2023-10-15 14:17:45 -04:00
|
|
|
volumes:
|
|
|
|
- ./repo:/app/repo
|
|
|
|
depends_on:
|
|
|
|
- db
|
2024-01-16 19:54:32 -05:00
|
|
|
restart: unless-stopped
|