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: