comparison docker/README @ 9791:a00bb9d39c16 3.2.x

Drop explicit host ports Compose will automatically allocate unassigned ports. These can be looked up e.g. using `docker compose port'. Enables using several "instances" of the application with different project names (`docker compose -p <project name>').
author Tom Gottfried <tom@intevation.de>
date Thu, 20 Jul 2023 10:35:10 +0200
parents 3847836c60b5
children 5141e37b9ef0
comparison
equal deleted inserted replaced
9790:75dc4ea60938 9791:a00bb9d39c16
1 Configure: 1 Configure:
2 _ Add to gwt-client/config/mapfish/config.yaml to enable map printing: 2 _ Add to gwt-client/config/mapfish/config.yaml to enable map printing:
3 - !dnsMatch 3 - !dnsMatch
4 host: <your-host> 4 host: <your-host>
5 port: 8080 5 port: <your-host-port>
6 6
7 7
8 Build and run: 8 Build and run:
9 9
10 $ cd docker 10 $ cd docker
11 $ docker-compose up 11 $ docker-compose up
12 12
13 The application should now be accessible on your docker host under 13 Lookup the allocated host port:
14 port 8080 (e.g. http://your-host:8080). 14
15 $ docker compose port wiki 80
16
17 The application should now be accessible on your docker host
18 (e.g. http://your-host:your-host-port).
15 See docker/flys_user_file for credentials. 19 See docker/flys_user_file for credentials.
16 20
17 In case an Oracle database should be used, the server service has to be 21 In case an Oracle database should be used, the server service has to be
18 build with a build-time argument: 22 build with a build-time argument:
19 23

http://dive4elements.wald.intevation.org