sha256:ed06c76b791863b016360f68ba11a47da43bfed29e7cf9a839381178088a64d2
Last pushed
about 5 hours by jeffreyalanwang
Type
Compose
Manifest digest
sha256:ed06c76b791863b016360f68ba11a47da43bfed29e7cf9a839381178088a64d2
name: dutch-railways-server
services:
server:
image: jeffreyalanwang/dutch-railways-server:latest
ports:
- "80:80"
environment:
SERVER_PORT: 80
DB_HOST: db
DB_PORT: 5432
DB_NAME: dutch_railways
DB_USER: ${DB_USER:-postgres_user}
DB_PASSWORD: ${DB_PASSWORD:-postgres_pass}
THC_PATH: /actuator/health
THC_PORT: 8081
ACTUATOR_PORT: 8081
depends_on:
db:
condition: service_healthy
healthcheck:
test: ["CMD", "/workspace/health-check"]
start_period: 2m
db:
image: jeffreyalanwang/dutch-railways-database:latest
environment:
POSTGRES_USER: ${DB_USER:-postgres_user}
POSTGRES_PASS: ${DB_PASSWORD:-postgres_pass}
POSTGRES_DB: dutch_railways
expose:
- "5432"
volumes:
- db_data:/var/lib/postgresql/
healthcheck:
test: ["CMD", "test", "-f", "/tmp/postgres-ready"]
start_period: 5m
volumes:
db_data:
docker compose -f oci://jeffreyalanwang/dutch-railways:0.0.1 upUse the above command to pull and run the Compose file. Learn more.
Pulls
1.3K
Stars
0
Last Updated
about 5 hours