From ea96779d0f3d3baa3f1107987724337737ead65d Mon Sep 17 00:00:00 2001 From: liuyx Date: Thu, 18 Jan 2024 10:41:00 +0800 Subject: [PATCH] update --- .env | 2 +- docker-compose.yaml | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.env b/.env index 1d81bba..930e02a 100644 --- a/.env +++ b/.env @@ -1,4 +1,4 @@ -NAME="def" +NAME="sftp" COMPOSE_PROJECT_NAME=$NAME TZ=Asia/Shanghai diff --git a/docker-compose.yaml b/docker-compose.yaml index b68b7a2..d6614b4 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,20 +1,20 @@ version: '3' services: - app: + sftp: # command: command - container_name: v2 - image: app:latest + container_name: sftp + image: drakkan/sftpgo restart: always ports: - - 3111-3222:3111-3222 + - 8080:8888 networks: - local volumes: - - ${DIR}:/etc/app - - /etc/localtime:/etc/localtime:ro + - ${DIR}:/app + # - /etc/localtime:/etc/localtime:ro - environment: - APP_ADDRESS: 0.0.0.0:3111 + # environment: + # APP_ADDRESS: 0.0.0.0:3111 networks: local: