Some checks failed
CI / Linux Tests (push) Failing after 5m44s
Store timestamps as strings in the database to fix errors with postgres. Reviewed-on: #1 Co-authored-by: Michael Housh <michael@mhoush.com> Co-committed-by: Michael Housh <michael@mhoush.com>
24 lines
463 B
YAML
24 lines
463 B
YAML
services:
|
|
db:
|
|
image: docker.io/postgres:18
|
|
restart: unless-stopped
|
|
env_file: .env
|
|
volumes:
|
|
- ./data:/var/lib/postgresql
|
|
|
|
app:
|
|
build:
|
|
dockerfile: docker/Dockerfile
|
|
context: .
|
|
restart: unless-stopped
|
|
env_file: .env
|
|
depends_on:
|
|
- db
|
|
ports:
|
|
- 8080:8080
|
|
healthcheck:
|
|
test: curl --fail --silent http://0.0.0.0:8080/health || exit 1
|
|
interval: 1m
|
|
timeout: 10s
|
|
retries: 3
|