feat: establish Hestia server with preserved deployment resources
Verify Hestia server / verify (push) Failing after 0s
Verify Hestia server / verify (push) Failing after 0s
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
# Standalone alternative: docker compose -f docker-compose.postgres.yml up --build -d
|
||||
services:
|
||||
aster:
|
||||
build: .
|
||||
ports:
|
||||
- "127.0.0.1:${ASTER_PORT:-8080}:8080"
|
||||
environment:
|
||||
ASTER_LISTEN: 0.0.0.0:8080
|
||||
ASTER_STATE_DIR: /data/host
|
||||
volumes:
|
||||
- aster-host:/data/host
|
||||
restart: unless-stopped
|
||||
|
||||
postgres:
|
||||
image: postgres:17-bookworm
|
||||
environment:
|
||||
POSTGRES_DB: aster
|
||||
POSTGRES_USER: aster
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?set POSTGRES_PASSWORD in .env}
|
||||
volumes:
|
||||
- aster-postgres:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U aster -d aster"]
|
||||
interval: 5s
|
||||
timeout: 3s
|
||||
retries: 10
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
aster-host:
|
||||
aster-postgres:
|
||||
Reference in New Issue
Block a user