-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
54 lines (50 loc) · 1.32 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
version: '2.0'
services:
database:
image: mysql:5.7
ports:
- "3308:3306"
command: --init-file /data/application/init.sql
volumes:
- ./init.sql:/data/application/init.sql
- db_data:/var/lib/mysql
environment:
MYSQL_ROOT_USER: root
MYSQL_ROOT_PASSWORD: secret
MYSQL_DATABASE: syncbox
# config-server:
# image: config-server
# build:
# context: ./config-server
# ports:
# - "1901:1901"
# volumes:
# - /home/melangakasun/.seadrive/data:/data_directory
# - /home/melangakasun/Desktop/FYP/test:/filestore
# environment:
# SERVER_PORT: 1901
# # seafile configurations
# SEAFILE_URL: http://www.nextbox.lk:8081
# SEAFILE_DATA_DIRECTORY: /data_directory
# VIRTUAL_DRIVE_CONTAINER_DIRECTORY: /filestore
# # host machine configurations
# HOST_IP_ADDRESS: 172.17.0.1
# HOST_USERNAME: melangakasun
# HOST_PASSWORD: null
# # database configurations
# DATABASE_PORT: 3306
# DATABASE_USER: root
# DATABASE_PASSWORD: secret
# DATABASE_NAME: syncbox
# depends_on:
# - database
# web-interface:
# image: web-interface
# build:
# context: ./web-interface
# ports:
# - "3000:80"
# depends_on:
# - config-server
volumes:
db_data: null