forked from Orcpub/orcpub
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-build.yaml
More file actions
39 lines (39 loc) · 938 Bytes
/
docker-compose-build.yaml
File metadata and controls
39 lines (39 loc) · 938 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
---
version: '3'
services:
orcpub:
build:
context: .
dockerfile: docker/orcpub/Dockerfile
environment:
PORT: 8890
EMAIL_SERVER_URL: ''
EMAIL_ACCESS_KEY: ''
EMAIL_SECRET_KEY: ''
EMAIL_SERVER_PORT: 587
# Email address to send errors to
EMAIL_ERRORS_TO: ''
DATOMIC_URL: datomic:free://datomic:4334/orcpub
depends_on:
- datomic
restart: always
datomic:
build:
context: .
dockerfile: docker/datomic/Dockerfile
volumes:
- ./data:/data
- ./deploy/transactor.properties:/datomic/transactor.properties
restart: always
web:
image: nginx:alpine
ports:
- "80:80"
- "443:443"
volumes:
- ./deploy/nginx.conf:/etc/nginx/conf.d/default.conf
- ./deploy/snakeoil.crt:/etc/nginx/snakeoil.crt
- ./deploy/snakeoil.key:/etc/nginx/snakeoil.key
depends_on:
- orcpub
restart: always