-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (46 loc) · 1.14 KB
/
docker-compose.yml
File metadata and controls
47 lines (46 loc) · 1.14 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
services:
rustfs:
image: rustfs/rustfs:latest
container_name: rustfs
restart: unless-stopped
environment:
RUSTFS_ADDRESS: ":9000"
RUSTFS_ACCESS_KEY: rustfsadmin
RUSTFS_SECRET_KEY: rustfsadmin
RUSTFS_CONSOLE_ENABLE: "true"
command: /data
healthcheck:
test: ["CMD", "curl", "-sf", "http://localhost:9000/health"]
ports:
- "9000:9000"
- "9001:9001"
volumes:
- ./rustfs-data:/data
rustfs-cli:
build:
context: .
dockerfile: Dockerfile
container_name: rustfs-cli
depends_on:
- rustfs
healthcheck:
test: ["CMD", "curl", "-sf", "http://rustfs:9000/health"]
environment:
RUSTFS_CLI_BINARY: rc
RUSTFS_ENDPOINT: http://rustfs:9000
RUSTFS_ACCESS_KEY: rustfsadmin
RUSTFS_SECRET_KEY: rustfsadmin
RUSTFS_ALIAS_NAME: local
command:
- mb
- gitlab-artifacts
- gitlab-uploads
- gitlab-packages
- gitlab-lfs
- gitlab-backups
- gitlab-terraform
- gitlab-dependency-proxy
- gitlab-secure-files
- gitlab-pages
- gitlab-external-diffs
- gitlab-registry