-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
51 lines (46 loc) · 1.06 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
version: '3.8'
networks:
main:
logs:
external: true
services:
bot:
build:
context: ./
dockerfile: ./den0bot/Dockerfile
volumes:
- ./bot/data:/app/data
- ./bot/data:/root/den0bot # legacy reasons
- ./bot/Modules:/app/Modules
- ./bot/Locales:/app/Locales
- ./bot/ppcache:/app/ppcache
- ./bot/logs:/app/logs
- type: bind # legacy reasons
source: ./bot/data/data.db
target: /app/data.db
environment:
- DOTNET_SYSTEM_NET_DISABLEIPV6=1
networks:
- main
- logs
restart: on-failure
pull_policy: build
analytics:
build:
context: ./
dockerfile: ./den0bot.Analytics.Web/Dockerfile
ports:
- "127.0.0.1:5000:3001"
environment:
- ASPNETCORE_ENVIRONMENT=Production
- ASPNETCORE_URLS=http://+:3001
- TelegramApiKey
volumes:
- ./bot/data:/app/data
- ./analytics/wwwroot:/app/wwwroot
- ./analytics/logs:/app/logs
networks:
- main
- logs
restart: on-failure
pull_policy: build