-
Notifications
You must be signed in to change notification settings - Fork 21
/
docker-compose.yml
82 lines (75 loc) · 1.9 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
version: '3'
services:
v2ray:
image: v2ray/official
container_name: v2ray
restart: always
command: v2ray -config=/etc/v2ray/config.json
ports:
- "8888:8888"
#- "127.0.0.1:8889:8889"
volumes:
- ./data/v2ray:/etc/v2ray
market:
container_name: "${PROJECT_NAME}_market"
image: gqbot:market
build:
context: .
dockerfile: Dockerfile
volumes:
- .:/app
- ./config.json:/app/config.json
rabbitmq:
container_name: "${PROJECT_NAME}_rabbitmq"
hostname: rabbitmq
image: rabbitmq:3-management
environment:
- RABBITMQ_NODENAME=my-rabbit
ports:
- 15672
- 5672
jupyter:
container_name: "${PROJECT_NAME}_jupyter"
image: koinotice/jupyter
build:
context: ./docker/jupyter
dockerfile: Dockerfile
volumes:
- ./data/jupyter:/data/jupyter
environment:
- NOTEBOOK_PASSWORD=${NOTEBOOK_PASSWORD}
- NOTEBOOK_DIR=/data/jupyter
- NOTEBOOK_IP=0.0.0.0
- NOTEBOOK_PORT=8888
ports:
- 8888:8888
mariadb:
image: mariadb
container_name: "${PROJECT_NAME}_mariadb"
stop_grace_period: 30s
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: $DB_ROOT_PASSWORD
MYSQL_DATABASE: $DB_NAME
MYSQL_USER: $DB_USER
MYSQL_PASSWORD: $DB_PASSWORD
volumes:
# NOTE: your data will be stored in ./mysql
- ./data/mysql:/var/lib/mysql
# codeserver:
# image: codercom/code-server
# container_name: code
# volumes:
# - ./data:/root/projects
# - ./data:/data
# # If u use https://github.com/jwilder/nginx-proxy (recommended)
# # environment:
# # VIRTUAL_HOST: your.domain.tld
# # VIRTUAL_PORT: 8443
# ports:
# # With SSL
# - "6100:8443"
# # With HTTP
# #- "80:8443"
# command: code-server --no-auth # if using proxy add: --allow-http