Docker
This commit is contained in:
@@ -1,18 +1,21 @@
|
||||
services:
|
||||
api:
|
||||
image: strava-mcp-api:latest
|
||||
build:
|
||||
context: ./api
|
||||
env_file:
|
||||
- .env
|
||||
target: production
|
||||
env_file: .env
|
||||
ports:
|
||||
- "${PORT:-3000}:3000"
|
||||
- "127.0.0.1:${API_PORT:-3000}:3000"
|
||||
restart: unless-stopped
|
||||
|
||||
client:
|
||||
image: strava-mcp-client:latest
|
||||
build:
|
||||
context: ./client
|
||||
target: production
|
||||
ports:
|
||||
- "8080:80"
|
||||
- "${CLIENT_PORT:-8080}:80"
|
||||
depends_on:
|
||||
- api
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user