Image-only compose, to isolate whether the Gitea failure is specific to build steps
This commit is contained in:
parent
47fe3c33e6
commit
96099dd42b
@ -1,15 +1,8 @@
|
|||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
build:
|
image: nginx:alpine
|
||||||
context: ./web
|
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "80:80"
|
||||||
environment:
|
|
||||||
DATABASE_URL: postgres://demo:demo@db:5432/demo
|
|
||||||
APP_LABEL: "VeilStream demo"
|
|
||||||
depends_on:
|
|
||||||
db:
|
|
||||||
condition: service_healthy
|
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: postgres:16-alpine
|
image: postgres:16-alpine
|
||||||
@ -17,8 +10,6 @@ services:
|
|||||||
POSTGRES_USER: demo
|
POSTGRES_USER: demo
|
||||||
POSTGRES_PASSWORD: demo
|
POSTGRES_PASSWORD: demo
|
||||||
POSTGRES_DB: demo
|
POSTGRES_DB: demo
|
||||||
volumes:
|
|
||||||
- ./db/init.sql:/docker-entrypoint-initdb.d/init.sql
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U demo -d demo"]
|
test: ["CMD-SHELL", "pg_isready -U demo -d demo"]
|
||||||
interval: 5s
|
interval: 5s
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user