-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
52 lines (51 loc) · 1.27 KB
/
docker-compose.yaml
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
version: "3.9"
services:
voucher:
build: ./frontend
restart: always
depends_on:
- "voucher_backend"
environment:
- PUBLIC_HOST=$VOUCHER_URL
- VIRTUAL_HOST=$VOUCHER_URL
- LETSENCRYPT_HOST=$VOUCHER_URL
- VUE_APP_API_URL=$VOUCHER_BACKEND_URL
- VUE_APP_API_TIMEOUT=200
- VUE_APP_MOBILE_SKETCH=900
- VUE_APP_NETWORK=testnet
- VUE_APP_NETWORK_MATICMUM_SUPPORT=1
- VUE_APP_NETWORK_POLYGON_MAINNET_SUPPORT=1
voucher_backend:
build: ./backend
restart: always
ports:
- 9998:9998
environment:
- PUBLIC_HOST=$VOUCHER_BACKEND_URL
- VIRTUAL_HOST=$VOUCHER_BACKEND_URL
- LETSENCRYPT_HOST=$VOUCHER_BACKEND_URL
- OWNER_PK=""
- PASSWORD_ENV=""
nginx_cert:
image: nginxproxy/nginx-proxy
restart: always
ports:
- 80:80
- 443:443
volumes:
- /etc/nginx/certs
- /etc/nginx/vhost.d
- /usr/share/nginx/html
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./infra/conf.d:/etc/nginx/conf.d
acme:
image: nginxproxy/acme-companion
restart: always
volumes_from:
- nginx_cert
volumes:
- /etc/acme.sh
- /var/run/docker.sock:/var/run/docker.sock:ro
depends_on:
- "voucher"
- "voucher_backend"