-
-
Notifications
You must be signed in to change notification settings - Fork 88
Expand file tree
/
Copy pathdocker-compose.override.standalone.yml
More file actions
90 lines (83 loc) · 2.24 KB
/
docker-compose.override.standalone.yml
File metadata and controls
90 lines (83 loc) · 2.24 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
services:
db:
image: postgis/postgis:${POSTGIS_IMAGE_VERSION}
platform: linux/amd64
restart: unless-stopped
environment:
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
volumes:
- postgres_data:/var/lib/postgresql/data/
ports:
- ${HOST_POSTGRES_PORT}:5432
command: ["postgres", "-c", "log_statement=all", "-c", "log_destination=stderr"]
smtp4dev:
image: rnwood/smtp4dev:v3
restart: always
ports:
# Web interface
- ${SMTP4DEV_WEB_PORT}:80
# SMTP server
- ${SMTP4DEV_SMTP_PORT}:25
# IMAP
- ${SMTP4DEV_IMAP_PORT}:143
volumes:
- smtp4dev_data:/smtp4dev
environment:
# Specifies the server hostname. Used in auto-generated TLS certificate if enabled.
- ServerOptions__HostName=smtp4dev
rustfs:
image: rustfs/rustfs:1.0.0-alpha.90
restart: unless-stopped
volumes:
- rustfs_data:/data
environment:
- RUSTFS_ACCESS_KEY=${OBJECT_STORAGE_ROOT_USER}
- RUSTFS_SECRET_KEY=${OBJECT_STORAGE_ROOT_PASSWORD}
- RUSTFS_CONSOLE_ENABLE=true
- RUSTFS_ADDRESS=0.0.0.0:9000
- RUSTFS_CONSOLE_ADDRESS=0.0.0.0:9001
- RUSTFS_EXTERNAL_ADDRESS=:${OBJECT_STORAGE_API_PORT}
ports:
# S3 API port
- "${OBJECT_STORAGE_API_PORT}:9000"
# Console port
- "${OBJECT_STORAGE_BROWSER_PORT}:9001"
healthcheck:
test:
[
"CMD",
"sh", "-c",
"curl -f http://localhost:9000/health && curl -f http://localhost:9001/rustfs/console/health"
]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
createbuckets:
build:
context: ./docker-createbuckets
depends_on:
rustfs:
condition: service_healthy
environment:
STORAGES: ${STORAGES}
webdav:
image: bytemark/webdav:2.4
platform: linux/amd64
restart: unless-stopped
ports:
- ${WEBDAV_PUBLIC_PORT}:80
environment:
AUTH_TYPE: Basic
USERNAME: ${WEBDAV_USERNAME}
PASSWORD: ${WEBDAV_PASSWORD}
SERVER_NAMES: ${WEBDAV_SERVER_NAMES}
volumes:
- webdav_data:/var/lib/dav
volumes:
postgres_data:
smtp4dev_data:
rustfs_data:
webdav_data: