docker-compose
This commit is contained in:
parent
3a35ebec86
commit
1445f3f29c
@ -2,11 +2,10 @@ version: '2'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
relayer:
|
relayer:
|
||||||
image: relayer
|
|
||||||
build: ./
|
build: ./
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
|
||||||
- 8000:8000
|
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=production
|
NODE_ENV: production
|
||||||
|
VIRTUAL_HOST: relayer.tornado.cash
|
||||||
|
LETSENCRYPT_HOST: relayer.tornado.cash
|
||||||
env_file: ./.env
|
env_file: ./.env
|
23
frontend/docker-compose.yml
Normal file
23
frontend/docker-compose.yml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
version: '2'
|
||||||
|
|
||||||
|
services:
|
||||||
|
|
||||||
|
nginx:
|
||||||
|
image: jwilder/nginx-proxy
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- 80:80
|
||||||
|
- 443:443
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||||
|
- /etc/nginx/certs
|
||||||
|
- /etc/nginx/vhost.d
|
||||||
|
- /usr/share/nginx/html
|
||||||
|
|
||||||
|
letsencrypt:
|
||||||
|
image: jrcs/letsencrypt-nginx-proxy-companion
|
||||||
|
restart: always
|
||||||
|
volumes_from:
|
||||||
|
- nginx
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
Loading…
Reference in New Issue
Block a user