init
This commit is contained in:
25
compose.yml
Normal file
25
compose.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
services:
|
||||
agent-runtime:
|
||||
image: smart-factory-agent-runtime:0.1.0
|
||||
build:
|
||||
context: sandbox
|
||||
profiles: ["build-only"]
|
||||
|
||||
postgres:
|
||||
image: postgres:17-alpine
|
||||
environment:
|
||||
POSTGRES_DB: smart_factory_agent
|
||||
POSTGRES_USER: smart_factory
|
||||
POSTGRES_PASSWORD: smart_factory
|
||||
ports:
|
||||
- "127.0.0.1:54330:5432"
|
||||
volumes:
|
||||
- smart-factory-pg:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U smart_factory -d smart_factory_agent"]
|
||||
interval: 3s
|
||||
timeout: 3s
|
||||
retries: 20
|
||||
|
||||
volumes:
|
||||
smart-factory-pg:
|
||||
Reference in New Issue
Block a user