-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdocker-compose.yml
64 lines (58 loc) · 1.38 KB
/
docker-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
53
54
55
56
57
58
59
60
61
62
63
64
services:
shelf-back:
image: fdooch/shelf-back:0.1.0-alpha.17
env_file:
- ./.shelf-back.env
environment:
- SHELF_SUPERUSER_USERNAME=admin
- SHELF_SUPERUSER_PASSWORD=root
volumes:
- ./certs:/usr/src/shelf-back/certs
- ./shelf-data:/usr/src/shelf-data
ports:
- "8000:80"
depends_on:
- redis
- edgedb
shelf-worker:
image: fdooch/shelf-back:0.1.0-alpha.17
env_file:
- ./.shelf-back.env
volumes:
- ./certs:/usr/src/shelf-back/certs
- ./shelf-data:/usr/src/shelf-data
command: ["arq", "app.worker.main.WorkerSettings"]
depends_on:
- edgedb
- redis
shelf-front:
image: fdooch/shelf-front:0.1.0-alpha.17
environment:
- API_BASE_URL=http://localhost:8000
ports:
- "8080:80"
depends_on:
- shelf-back
edgedb:
image: edgedb/edgedb:4.4
environment:
- EDGEDB_SERVER_USER=edgedb
- EDGEDB_PASSWORD=root
- EDGEDB_SERVER_TLS_CERT_FILE=/certs/edbtlscert.dev.pem
- EDGEDB_SERVER_TLS_KEY_FILE=/certs/edbprivkey.dev.pem
volumes:
- dbvolume:/var/lib/edgedb/data
- ./certs:/certs
ports:
- "5656:5656"
mailpit:
image: axllent/mailpit
ports:
- "1025:1025" # SMTP port
- "8025:8025" # Web interface port
redis:
image: redis:alpine
ports:
- "6379:6379"
volumes:
dbvolume: {}