go project - add a migration and rename the dockerfiles so that Go is the primary
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
services:
|
||||
api:
|
||||
build:
|
||||
context: .
|
||||
target: api
|
||||
ports:
|
||||
- "6733:6733"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-sf", "http://127.0.0.1:6733/healthz"]
|
||||
interval: 2s
|
||||
timeout: 2s
|
||||
retries: 15
|
||||
start_period: 5s
|
||||
|
||||
simulator:
|
||||
build:
|
||||
context: .
|
||||
target: simulator
|
||||
depends_on:
|
||||
api:
|
||||
condition: service_healthy
|
||||
command: ["-host", "api", "-port", "6733"]
|
||||
working_dir: /output
|
||||
volumes:
|
||||
- ./output:/output
|
||||
# Ensure the bind-mounted host dir is writable for results.txt
|
||||
user: "0:0"
|
||||
Reference in New Issue
Block a user