-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
46 lines (40 loc) · 950 Bytes
/
compose.yml
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
services:
app:
build:
context: .
target: development
volumes:
- .:/app
- gem_cache:/gems
- ./sftp/ssh/ssh_client_rsa_key:/etc/secret-volume/id_rsa:ro
env_file:
- .env
- env.development
command:
- "tail"
- "-f"
- "/dev/null"
sftp:
image: 'atmoz/sftp'
volumes:
- ./sftp/sms:/home/alma/sms
- ./sftp/ssh/ssh_client_rsa_key.pub:/home/alma/.ssh/keys/id_rsa.pub:ro
- ./sftp/ssh/ssh_host_ed25519_key:/etc/ssh/ssh_host_ed25519_key
- ./sftp/ssh/ssh_host_rsa_key:/etc/ssh/ssh_host_rsa_key
command: alma:1001
pushgateway:
image: prom/pushgateway
ports:
- 9091:9091
hathifiles:
image: mariadb
volumes:
- hathidb:/var/lib/mysql
environment:
- MARIADB_ROOT_PASSWORD=pass
- MARIADB_USER=user
- MARIADB_PASSWORD=password
- MARIADB_DATABASE=hathifiles
volumes:
gem_cache:
hathidb: