-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
68 lines (61 loc) · 1.69 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
65
66
67
68
version: '3'
volumes:
elastic:
minio:
services:
nginx:
image: 'nginx:latest'
ports:
- '80:80'
- '443:443'
volumes:
- './nginx/config:/etc/nginx:ro'
- '/etc/cert:/etc/cert:ro'
restart: always
elastic:
image: 'elasticsearch:7.7.0'
expose:
- '9200'
environment:
discovery.type: 'single-node'
volumes:
- 'elastic:/usr/share/elasticsearch/data'
restart: always
minio:
image: 'minio/minio:latest'
expose:
- '9000'
volumes:
- 'minio:/data'
environment:
MINIO_ACCESS_KEY: 'minio_key'
MINIO_SECRET_KEY: 'minio_secret'
command: server /data
restart: always
vs-backend:
image: 'zekro/voidseeker-backend:latest'
expose:
- '8080'
environment:
VS_WEBSERVER__URL: 'http://vs-backend:8080'
VS_WEBSERVER__PUBLICURL: "https://example.com"
VS_MAILSERVICE__ADDRESS: "smtp.my-mail-server.com"
VS_MAILSERVICE__PORT: "587"
VS_MAILSERVICE__USERNAME: "noreply@example.com"
VS_MAILSERVICE__PASSWORD: "my_mail_password"
VS_DATABASE__ELASTICSEARCH__NODES__0: 'http://elastic:9200'
VS_STORAGE__MINIO__ENDPOINT: 'minio:9000'
VS_STORAGE__MINIO__ACCESSKEY: 'minio_key'
VS_STORAGE__MINIO__SECRETKEY: 'minio_secret'
VS_STORAGE__MINIO__DEFAULTLOCATION: 'us-east-1'
VS_STORAGE__MINIO__SSLENABLED: 'false'
restart: on-failure
labels:
apptype: 'webapp'
vs-frontend:
image: 'zekro/voidseeker-frontend:latest'
expose:
- '8080'
restart: on-failure
labels:
apptype: 'webapp'