comparison docker/README @ 9801:1d7a72a50183 3.2.x

Assume Compose V2, consistently
author Tom Gottfried <tom@intevation.de>
date Thu, 23 Nov 2023 10:14:13 +0100
parents 5141e37b9ef0
children
comparison
equal deleted inserted replaced
9800:5141e37b9ef0 9801:1d7a72a50183
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 Lookup the allocated host port: 13 Lookup the allocated host port:
14 14
15 $ docker compose port wiki 80 15 $ docker compose port wiki 80
16 16
19 See docker/flys_user_file for credentials. 19 See docker/flys_user_file for credentials.
20 20
21 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
22 build with a build-time argument: 22 build with a build-time argument:
23 23
24 $ docker-compose build --build-arg ORACLE=true artifacts 24 $ docker compose build --build-arg ORACLE=true artifacts
25 25
26 Remote debugging: 26 Remote debugging:
27 27
28 To enable remote debugging of the artifact server, uncomment the respective 28 To enable remote debugging of the artifact server, uncomment the respective
29 lines in docker-compose.yml, recreate the service and e.g. attach with JDB: 29 lines in docker-compose.yml, recreate the service and e.g. attach with JDB:
30 $ docker-compose up -d 30 $ docker compose up -d
31 $ jdb -attach <your-docker-host>:8787 -sourcepath<your-checkout>/artifacts/src/main/java 31 $ jdb -attach <your-docker-host>:8787 -sourcepath<your-checkout>/artifacts/src/main/java
32 32
33 33
34 TODO: 34 TODO:
35 _ Avoid having to change configuration manually 35 _ Avoid having to change configuration manually

http://dive4elements.wald.intevation.org