-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-compose.yml
52 lines (52 loc) · 1.17 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
version: "3.7"
networks:
ebicsbox_network:
services:
web:
image: railslove/ebicsbox
restart: always
env_file:
- .env
- .web.env
expose:
- 5000
environment:
- PORT=5000
networks:
- ebicsbox_network
command: bin/start server
depends_on:
- proxy
worker:
image: railslove/ebicsbox
restart: always
env_file: .env
command: bin/start worker
networks:
- ebicsbox_network
proxy:
image: jwilder/nginx-proxy
restart: always
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- /tmp/certs:/etc/nginx/certs:ro
- /tmp/html:/usr/share/nginx/html:rw
- /tmp/vhost.d:/etc/nginx/vhost.d
labels:
- com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy
ports:
- 80:80
- 443:443
networks:
- ebicsbox_network
letsencrypt:
image: jrcs/letsencrypt-nginx-proxy-companion
volumes:
- /tmp/html:/usr/share/nginx/html:rw
- /tmp/vhost.d:/etc/nginx/vhost.d:rw
- /tmp/certs:/etc/nginx/certs:rw
- /var/run/docker.sock:/var/run/docker.sock:ro
depends_on:
- proxy
networks:
- ebicsbox_network