forked from Drakkar-Software/OctoBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
39 lines (36 loc) · 912 Bytes
/
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
version: "3"
services:
octobot:
image: drakkarsoftware/octobot:stable
environment:
- VIRTUAL_HOST=${HOST}
- VIRTUAL_PORT=5001
- SELF_SIGNED_HOST=${HOST}
volumes:
- ./logs:/octobot/logs
- ./backtesting:/octobot/backtesting
- ./tentacles:/octobot/tentacles
- ./user:/octobot/user
expose:
- 5001
restart: always
nginx:
image: jwilder/nginx-proxy:alpine
ports:
- 80:80
- 443:443
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./ssl:/etc/nginx/certs
- ./vhost.d:/etc/nginx/vhost.d
restart: always
privileged: true
depends_on:
- octobot
nginx-companion:
container_name: proxy-companion
restart: always
image: sebastienheyd/self-signed-proxy-companion:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./ssl:/etc/nginx/certs