forked from duna-oss/flystorage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
68 lines (67 loc) · 1.78 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
---
version: "3"
services:
# sabredav:
# image: php:8.1-alpine3.15
# restart: always
# volumes:
# - ./:/var/www/html/
# ports:
# - "4040:4040"
# command: php -S 0.0.0.0:4040 /var/www/html/src/WebDAV/resources/server.php
# webdav:
# image: bytemark/webdav
# restart: always
# ports:
# - "4080:80"
# environment:
# AUTH_TYPE: Digest
# USERNAME: alice
# PASSWORD: secret1234
# ANONYMOUS_METHODS: 'GET,OPTIONS'
sftp:
container_name: sftp
restart: always
image: atmoz/sftp:alpine
volumes:
- ./docker/sftp/users.conf:/etc/sftp/users.conf
- ./docker/sftp/ssh_host_ed25519_key:/etc/ssh/ssh_host_ed25519_key
- ./docker/sftp/ssh_host_rsa_key:/etc/ssh/ssh_host_rsa_key
- ./docker/sftp/id_rsa.pub:/home/bar/.ssh/keys/id_rsa.pub
ports:
- "2222:22"
sftp_eddsa_only:
container_name: sftp_eddsa_only
restart: always
image: atmoz/sftp:alpine
volumes:
- ./docker/sftp/users.conf:/etc/sftp/users.conf
- ./docker/sftp/sshd_custom_configs.sh:/etc/sftp.d/sshd_custom_configs.sh
- ./docker/sftp/ssh_host_ed25519_key:/etc/ssh/ssh_host_ed25519_key
ports:
- "2223:22"
# ftp:
# container_name: ftp
# restart: always
# image: delfer/alpine-ftp-server
# environment:
# USERS: 'foo|pass|/home/foo/upload'
# ADDRESS: 'localhost'
# ports:
# - "2121:21"
# - "21000-21010:21000-21010"
azurite:
image: mcr.microsoft.com/azure-storage/azurite
profiles: ["azure"]
restart: unless-stopped
healthcheck:
test:
wget --no-verbose --tries=1 --spider http://localhost:10000/ || exit 1
interval: 10s
timeout: 10s
retries: 3
start_period: 10s
ports:
- 10000:10000
- 10001:10001
- 10002:10002