Compare commits
3 Commits
image-only
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c2f69703ab | ||
|
|
ba5e2d54f2 | ||
| c0bb4f66cc |
@ -1,8 +1,15 @@
|
||||
services:
|
||||
web:
|
||||
image: nginx:alpine
|
||||
build:
|
||||
context: ./web
|
||||
ports:
|
||||
- "80:80"
|
||||
- "3000:3000"
|
||||
environment:
|
||||
DATABASE_URL: postgres://demo:demo@db:5432/demo
|
||||
APP_LABEL: "VeilStream demo main v2"
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
|
||||
db:
|
||||
image: postgres:16-alpine
|
||||
@ -10,6 +17,8 @@ services:
|
||||
POSTGRES_USER: demo
|
||||
POSTGRES_PASSWORD: demo
|
||||
POSTGRES_DB: demo
|
||||
volumes:
|
||||
- ./db/init.sql:/docker-entrypoint-initdb.d/init.sql
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U demo -d demo"]
|
||||
interval: 5s
|
||||
|
||||
Loading…
Reference in New Issue
Block a user