-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yml
52 lines (47 loc) · 1.04 KB
/
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
47
48
49
50
51
52
services:
web:
build:
context: .
target: development
depends_on:
- 'redis'
ports:
- "4567:4567"
env_file:
- env.development
volumes:
- .:/app
- ./sftp/ssh/ssh_client_rsa_key:/etc/secret-volume/id_rsa:ro
- gem_cache:/gems
monitor:
image: "mockserver/mockserver"
ports:
- "1080:1080"
environment:
- SERVER_PORT=1080
worker:
build: ./worker/.
volumes:
- ./worker/.:/app
depends_on:
- 'redis'
environment:
- REDIS_URL=redis://redis:6379
redis:
image: 'redis:6.2'
command: redis-server
ports:
- '6379:6379'
volumes:
- 'redis:/data'
sftp:
image: 'atmoz/sftp'
volumes:
- ./sftp/search_daily_bibs:/home/alma/search_daily_bibs
- ./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
volumes:
gem_cache:
redis: