init commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
services:
|
||||
vibe-app:
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "${VIBE_PORT:-3000}:${VIBE_PORT:-3000}"
|
||||
security_opt:
|
||||
- apparmor:unconfined
|
||||
environment:
|
||||
- PORT=${VIBE_PORT:-3000}
|
||||
# No container healthcheck: healthchecks run via `docker exec`, which hits the
|
||||
# same LXC/AppArmor runc bug (opencontainers/runc#5007) as image builds and
|
||||
# always fails here. integration_test.bb polls the server until it's ready.
|
||||
|
||||
integration-test:
|
||||
image: babashka/babashka:latest
|
||||
security_opt:
|
||||
- apparmor:unconfined
|
||||
volumes:
|
||||
- ./integration_test.bb:/integration_test.bb:ro
|
||||
depends_on:
|
||||
vibe-app:
|
||||
condition: service_started
|
||||
entrypoint: ["bb", "/integration_test.bb", "http://vibe-app:${VIBE_PORT:-3000}"]
|
||||
Reference in New Issue
Block a user