-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
48 lines (45 loc) · 901 Bytes
/
docker-compose.yaml
File metadata and controls
48 lines (45 loc) · 901 Bytes
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
version: "3.8"
services:
db:
image: postgres:13-alpine3.15
volumes:
- db-data:/var/lib/postgresql/data
ports:
- 5432:5432
environment:
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_DB: mash
POSTGRES_USER: mash
lfs:
build:
context: .
target: rudolfs
ports:
- 8888:8888
environment:
RUDOLFS_KEY: "0bce26498d4f9765c6702d3b6cc43dca2daa2a4e9ac003373512d4f78828f183"
command:
- --host=0.0.0.0:8888
- local
- --path=/lfs
volumes:
- lfs-data:/lfs
ssh:
build:
context: .
target: ssh
ports:
- 2222:2222
- 6061:6060
command:
- ssh
- --ssh-listen-addr=0.0.0.0:2222
- --ssh-key-path=/keys/id_ed25519
volumes:
- ./tmp/repos:/repos
- ./ssh/cmd/ssh/keys:/keys
volumes:
db-data:
driver: local
lfs-data:
driver: local