优化file配置
This commit is contained in:
@@ -107,7 +107,7 @@ services:
|
||||
image: ${IMAGE_REPOSITORY}/file:${IMAGE_TAG}
|
||||
container_name: firstleg-${DEPLOY_ENV:-test}-file
|
||||
ports: ["${FILE_PORT:-9206}:9206"]
|
||||
volumes: ["firstleg-file-data:/data/files"]
|
||||
volumes: ["${FILE_UPLOADS_HOST_DIR:-/data/firstleg/uploads}:/data/files"]
|
||||
environment:
|
||||
<<: *common-environment
|
||||
SERVER_PORT: 9206
|
||||
@@ -177,7 +177,3 @@ networks:
|
||||
infra-network:
|
||||
external: true
|
||||
name: ${INFRA_NETWORK:-firstleg-test-infra-network}
|
||||
|
||||
volumes:
|
||||
firstleg-file-data:
|
||||
name: firstleg-${DEPLOY_ENV:-test}-file-data
|
||||
|
||||
Reference in New Issue
Block a user