-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
121 lines (115 loc) · 2.92 KB
/
docker-compose.yml
File metadata and controls
121 lines (115 loc) · 2.92 KB
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
services:
# MinIO - S3-compatible storage
minio:
image: minio/minio:latest
container_name: genro-storage-minio
ports:
- "9000:9000" # API
- "9001:9001" # Console
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin
command: server /data --console-address ":9001"
volumes:
- minio-data:/data
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 5s
timeout: 3s
retries: 5
# SFTP Server
sftp:
image: atmoz/sftp:latest
container_name: genro-storage-sftp
ports:
- "2222:22"
command: testuser:testpass:1001
volumes:
- sftp-data:/home/testuser/upload
healthcheck:
test: ["CMD-SHELL", "pgrep sshd"]
interval: 5s
timeout: 3s
retries: 5
# Samba/SMB Server
samba:
image: dperson/samba:latest
container_name: genro-storage-samba
ports:
- "139:139"
- "445:445"
environment:
USER: "testuser;testpass"
SHARE: "share;/share;yes;no;no;testuser"
volumes:
- smb-data:/share
command: '-u "testuser;testpass" -s "share;/share;yes;no;no;testuser" -p'
healthcheck:
test: ["CMD-SHELL", "smbclient -L localhost -U testuser%testpass -m SMB3"]
interval: 10s
timeout: 5s
retries: 5
# WebDAV Server
webdav:
image: bytemark/webdav:latest
container_name: genro-storage-webdav
ports:
- "8080:80"
environment:
AUTH_TYPE: Basic
USERNAME: testuser
PASSWORD: testpass
volumes:
- webdav-data:/var/lib/dav
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80"]
interval: 5s
timeout: 3s
retries: 5
# Azurite - Azure Storage Emulator
azurite:
image: mcr.microsoft.com/azure-storage/azurite:latest
container_name: genro-storage-azurite
ports:
- "10000:10000" # Blob service
- "10001:10001" # Queue service
- "10002:10002" # Table service
command: azurite --blobHost 0.0.0.0 --queueHost 0.0.0.0 --tableHost 0.0.0.0 --loose
volumes:
- azurite-data:/data
healthcheck:
test: ["CMD", "nc", "-z", "localhost", "10000"]
interval: 5s
timeout: 3s
retries: 5
# fake-gcs-server - Google Cloud Storage Emulator
fake-gcs:
image: fsouza/fake-gcs-server:latest
container_name: genro-storage-fake-gcs
ports:
- "4443:4443"
command: >
-scheme http
-port 4443
-public-host localhost:4443
-external-url http://localhost:4443
volumes:
- gcs-data:/data
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:4443/storage/v1/b"]
interval: 5s
timeout: 3s
retries: 5
volumes:
minio-data:
driver: local
sftp-data:
driver: local
smb-data:
driver: local
webdav-data:
driver: local
azurite-data:
driver: local
gcs-data:
driver: local