c704fbc742
Build and Push Docker Container / build-and-push (push) Successful in 8m3s
- Add bitboard-accelerated Prism and versioned Supreme snake implementations. - Add database-backed move benchmarks and focused strategy tests. - Normalize gameplay storage while preserving replay compatibility. - Add deterministic game quality scoring and replay retention tiers. - Add backup-first SQLite cleanup, verification, and replacement tooling. - Add safe compact-plus-delta database merging with conflict detection. - Extend SQLite and PostgreSQL schemas for replay and quality metadata. - Add PostgreSQL development service and pytest import configuration. - Update gameplay documentation and the quart_common submodule revision.
39 lines
905 B
YAML
39 lines
905 B
YAML
services:
|
|
# battlesnake:
|
|
# image: daniel156161/battlesnake
|
|
# container_name: battlesnake
|
|
# ports:
|
|
# - 8000:8000
|
|
# volumes:
|
|
# - ${DOCKER_DATA_PATH}:/app/data
|
|
# build:
|
|
# context: ./
|
|
# dockerfile: Dockerfile
|
|
# #environment:
|
|
# # - SNAKE_COLOR=blue
|
|
# # - SNAKE_HEAD=caffeine
|
|
# # - SNAKE_TAIL=mlh-gene
|
|
# # - STORE_GAME_HISTORY=True
|
|
# restart: always
|
|
|
|
postgres:
|
|
restart: always
|
|
image: postgres:18-alpine
|
|
container_name: postgres
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER}"]
|
|
start_period: 20s
|
|
interval: 30s
|
|
retries: 10
|
|
timeout: 5s
|
|
ports:
|
|
- "5433:5432"
|
|
environment:
|
|
POSTGRES_USER: ${POSTGRES_USER}
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
|
|
|
PUID: 1000
|
|
PGID: 1001
|
|
volumes:
|
|
- ${DOCKER_DATA_PATH}/postgres:/var/lib/postgresql
|