-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
38 lines (36 loc) · 1.11 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
version: '3.9'
services:
file-server:
build:
context: .
dockerfile: Dockerfile
platforms:
- "linux/amd64"
- "linux/arm64"
- "linux/arm/v7"
- "windows/amd64"
- "windows/arm64"
- "darwin/amd64"
- "darwin/arm64"
image: hub.deploy.telebroad.com/fileserver:latest
ports:
- "6080:80" # host:container
- "6443:443"
- "6021:21"
- "6990:990"
- "36000-36009:36000-36009"
- "6022:22"
volumes:
- ./static:/static # host:container
environment:
FTP_SERVER_ROOT: /static
FTP_SERVER_IPV4: 127.0.0.1
PASV_MIN_PORT: 36000
PASV_MAX_PORT: 36009
DEFAULT_USER: username-123
DEFAULT_PASS: password-123
DEFAULT_IP: 172.16.0.0/12, 10.0.0.0/8, 192.168.0.0/16, 127.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, fd00::/8, ::1
CRT_FILE: /fileserver/example/tls/ssl-rsa/localhost.rsa.crt
KEY_FILE: /fileserver/example/tls/ssl-rsa/localhost.rsa.key
LOG_LEVEL: DEBUG # DEBUG | INFO | WARNING | ERROR, from "log/slog".Level package
container_name: file-server