-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathcompose.yaml
45 lines (43 loc) · 1.05 KB
/
compose.yaml
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
services:
ssh_server:
build:
dockerfile: Dockerfile
context: .
ports:
- 8022:22
volumes:
- ./.host:/app/.host
- ./keysdb.sqlite3:/app/keysdb.sqlite3
- ./config.json:/app/config.json
command:
- /bin/bash
- -c
- |
# TODO: remove this when moving s3 config from this files to config file
echo "minio:9000" > /app/.s3endpoint
echo "minioadmin" > /app/.s3access
echo "minioadmin" > /app/.s3secret
./ssh_server -config /app/config.json
minio:
image: minio/minio:latest
container_name: minio
ports:
- "9000:9000"
- "9001:9001"
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin
volumes:
- minio_data:/data
command: server /data --console-address ":9001"
mailhog:
image: mailhog/mailhog:latest
ports:
- "1025:1025"
- "8025:8025"
environment:
MH_STORAGE: "memory"
MH_UI_BIND_ADDR: "0.0.0.0:8025"
MH_API_BIND_ADDR: "0.0.0.0:8025"
volumes:
minio_data: