mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-06 16:08:05 +00:00
13 lines
253 B
YAML
13 lines
253 B
YAML
services:
|
|
api:
|
|
build: .
|
|
ports: ["8080:8080"]
|
|
env_file: .env
|
|
depends_on: [db]
|
|
db:
|
|
image: postgres:16
|
|
environment:
|
|
POSTGRES_PASSWORD: example
|
|
volumes:
|
|
- ./db/schema.sql:/docker-entrypoint-initdb.d/schema.sql:ro
|