fix: add required env vars and network_mode host to deploy
- Add S3 credentials, auth config, and OTel endpoint - Switch from port mapping to network_mode: host - Fixes container crash on missing AUTH_API_KEY
This commit is contained in:
parent
5f3d84a89b
commit
8b08a70dca
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@ -54,11 +54,18 @@ services:
|
|||||||
file-system-server:
|
file-system-server:
|
||||||
image: ${CI_REGISTRY}/${DOCKER_IMAGE}:latest
|
image: ${CI_REGISTRY}/${DOCKER_IMAGE}:latest
|
||||||
container_name: file-system-server
|
container_name: file-system-server
|
||||||
ports:
|
network_mode: host
|
||||||
- "8991:8080"
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- GIN_MODE=release
|
- GIN_MODE=release
|
||||||
|
- SERVER_PORT=8080
|
||||||
|
- RUSTFS_ENDPOINT_URL=http://192.168.1.154:9000
|
||||||
|
- RUSTFS_ACCESS_KEY_ID=minioadmin
|
||||||
|
- RUSTFS_SECRET_ACCESS_KEY=minioadmin
|
||||||
|
- RUSTFS_REGION=us-east-1
|
||||||
|
- AUTH_API_KEY=file-system-api-key-2024
|
||||||
|
- GRPC_AUTH_ADDR=192.168.1.154:50051
|
||||||
|
- OTEL_ENDPOINT=192.168.1.154:4316
|
||||||
volumes:
|
volumes:
|
||||||
- ./logs:/app/logs
|
- ./logs:/app/logs
|
||||||
DCOF
|
DCOF
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user