Mercurial > dive4elements > river
annotate docker/README @ 9745:1632f64aba89 3.2.x
Remove obsolete comment
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Tue, 30 Aug 2022 14:58:38 +0200 |
parents | d1dcb8d28b0d |
children | 1a1e627b1483 |
rev | line source |
---|---|
9684
537fe44f2792
Add basic Docker setup for development
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
1 Configure: |
9734
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9721
diff
changeset
|
2 _ Change 'localhost' to the hostname of your docker host in |
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9721
diff
changeset
|
3 artifacts/doc/conf/floodmap.xml and artifacts/doc/conf/rivermap.xml |
9739
414647dc6936
Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9736
diff
changeset
|
4 _ Change 'example.com' to the hostname of your docker host plus ':8082' in |
414647dc6936
Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9736
diff
changeset
|
5 artifacts/doc/conf/conf.xml |
9743
d1dcb8d28b0d
Consider map printing in Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9739
diff
changeset
|
6 _ Add to gwt-client/src/main/webapp/WEB-INF/config.yaml to enable map printing: |
d1dcb8d28b0d
Consider map printing in Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9739
diff
changeset
|
7 - !dnsMatch |
d1dcb8d28b0d
Consider map printing in Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9739
diff
changeset
|
8 host: <your-host> |
d1dcb8d28b0d
Consider map printing in Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9739
diff
changeset
|
9 port: 8081 |
9684
537fe44f2792
Add basic Docker setup for development
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
10 |
537fe44f2792
Add basic Docker setup for development
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
11 |
9720
13e2d38ad314
Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
9716
diff
changeset
|
12 Build and run: |
9684
537fe44f2792
Add basic Docker setup for development
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
13 |
9720
13e2d38ad314
Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
9716
diff
changeset
|
14 $ cd docker |
13e2d38ad314
Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
9716
diff
changeset
|
15 $ docker-compose up |
9684
537fe44f2792
Add basic Docker setup for development
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
16 |
9716
c3afc0274bba
Improve Docker-based development setup
Tom Gottfried <tom@intevation.de>
parents:
9687
diff
changeset
|
17 The application should now be accessible on your docker host under |
c3afc0274bba
Improve Docker-based development setup
Tom Gottfried <tom@intevation.de>
parents:
9687
diff
changeset
|
18 port 8080 and path /d4e-river (e.g. http://your-host:8080/d4e-river). |
9686
33303817ed37
Deploy webapp as d4e-river
Tom Gottfried <tom@intevation.de>
parents:
9684
diff
changeset
|
19 See docker/flys_user_file for credentials. |
33303817ed37
Deploy webapp as d4e-river
Tom Gottfried <tom@intevation.de>
parents:
9684
diff
changeset
|
20 |
9684
537fe44f2792
Add basic Docker setup for development
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
21 |
537fe44f2792
Add basic Docker setup for development
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
22 TODO: |
537fe44f2792
Add basic Docker setup for development
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
23 _ Avoid having to change configuration manually |
537fe44f2792
Add basic Docker setup for development
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
24 _ Let all components log to stdout to enable useful usage of `docker logs' |
537fe44f2792
Add basic Docker setup for development
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
25 _ Something better than setting framework and http-client to a branch |
537fe44f2792
Add basic Docker setup for development
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
26 explicitly in the Dockerfiles |