This commit is contained in:
liuyx 2024-01-18 10:41:00 +08:00
parent 992515e75e
commit ea96779d0f
2 changed files with 9 additions and 9 deletions

2
.env
View File

@ -1,4 +1,4 @@
NAME="def" NAME="sftp"
COMPOSE_PROJECT_NAME=$NAME COMPOSE_PROJECT_NAME=$NAME
TZ=Asia/Shanghai TZ=Asia/Shanghai

View File

@ -1,20 +1,20 @@
version: '3' version: '3'
services: services:
app: sftp:
# command: command # command: command
container_name: v2 container_name: sftp
image: app:latest image: drakkan/sftpgo
restart: always restart: always
ports: ports:
- 3111-3222:3111-3222 - 8080:8888
networks: networks:
- local - local
volumes: volumes:
- ${DIR}:/etc/app - ${DIR}:/app
- /etc/localtime:/etc/localtime:ro # - /etc/localtime:/etc/localtime:ro
environment: # environment:
APP_ADDRESS: 0.0.0.0:3111 # APP_ADDRESS: 0.0.0.0:3111
networks: networks:
local: local: