-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
90 lines (90 loc) · 2.15 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
83
84
85
86
87
88
89
90
version: '2'
services:
db:
image: mysql/mysql-server:8.0.0
environment:
MYSQL_ROOT_PASSWORD: "root"
MYSQL_DATABASE: webodv
MYSQL_USER: webodv
MYSQL_PASSWORD: webodv
networks:
- webodv-dev
ports:
- 3307:3306
#make db permanent
#volumes:
#- ./db:/var/lib/mysql
dbodv:
image: mysql/mysql-server:8.0.0
environment:
MYSQL_ROOT_PASSWORD: "root"
MYSQL_DATABASE: wsodv
MYSQL_USER: webodv
MYSQL_PASSWORD: webodv
networks:
- webodv-dev
ports:
- 3308:3306
phpmyadmin_db:
image: phpmyadmin/phpmyadmin
depends_on:
- db
ports:
- 11111:80
networks:
- webodv-dev
environment:
PMA_HOST: db
PMA_PORT: 3306
phpmyadmin_dbodv:
image: phpmyadmin/phpmyadmin
depends_on:
- dbodv
ports:
- 11110:80
networks:
- webodv-dev
environment:
PMA_HOST: dbodv
PMA_PORT: 3306
webodv:
image: hub.awi.de/webodv/webodv:v1.0.0
depends_on:
- dbodv
- db
ports:
- 11112:80
networks:
- webodv-dev
volumes:
# the user in the docker has uid=1000, thus make sure that all mounted folders have owner uid=1000 and
# the correct permissions
# ODV installation
- ./odv_software:/var/www/html/bin:ro
# ODV bathy data
- ./ODV:/home/woody/Documents/ODV:rw
# data
#- ./ODV_Data:/var/www/html/webodv/storage/app/default:rw
- /home/smieruch/Docker/odv_data/SeaView:/var/www/html/webodv/storage/app/default:rw
#- settings
- ./settings:/var/www/html/webodv/storage/app/settings/settings_webodv:rw
# init
- ./init.bash:/var/www/html/init.bash
#
# development: "xhost +" to tunnel X11 apps
- ./webodv:/var/www/html/webodv:rw
#- /home/smieruch/.Xauthority:/root/.Xauthority
#- /tmp/.X11-unix:/tmp/.X11-unix
#
#
environment:
settings_name: default #
settings_path: /var/www/html/webodv/storage/app/settings
path_to_odv_settings: settings_webodv
proxy_ws: webodv_ProxyPass.txt
REVERSE_PROXY: 1 #o or 1 for false and true
FORCE_SCHEME: https #see AppServiceProvider
FORCE_ROOT_URL: https://dev.webodv.awi.de
networks:
webodv-dev:
driver: bridge