tom@9684: Configure: tom@9684: _ Change 'localhost' to 'd4eriver-db' in artifacts/doc/conf/backend-db.xml tom@9684: and artifacts/doc/conf/seddb-db.xml tom@9684: _ Change 'localhost' to '0.0.0.0' in artifacts/doc/conf/rest-server.xml tom@9684: _ Change 'localhost' to 'd4eriver-artifacts' in the server-url parameter in tom@9684: gwt-client/src/main/webapp/WEB-INF/web.xml tom@9687: _ Set font path to /usr/share/fonts/gnu-free/FreeSans.ttf in tom@9687: gwt-client/src/main/webapp/WEB-INF/config.yaml tom@9684: tom@9684: tom@9684: Build: tom@9684: tom@9684: $ docker build -f docker/Dockerfile.db -t d4e/river_db . tom@9684: $ docker build -f docker/Dockerfile.artifacts -t d4e/river_artifacts . tom@9684: $ docker build -f docker/Dockerfile.gwt-client -t d4e/river_client . tom@9684: tom@9684: tom@9684: Run: tom@9684: tom@9684: $ docker network create d4e_river tom@9684: $ docker run --name d4eriver-db --network d4e_river \ tom@9684: -dp 2345:5432 d4e/river_db:latest tom@9684: $ docker run --name d4eriver-artifacts --network d4e_river \ tom@9684: -dp 8181:8181 d4e/river_artifacts tom@9684: $ docker run --name d4eriver-client --network d4e_river \ tom@9684: -v $PWD:/opt/d4e/river -dp 8080:8080 d4e/river_client tom@9684: tom@9716: The application should now be accessible on your docker host under tom@9716: port 8080 and path /d4e-river (e.g. http://your-host:8080/d4e-river). tom@9686: See docker/flys_user_file for credentials. tom@9686: tom@9684: tom@9684: TODO: tom@9684: _ Avoid having to change configuration manually tom@9684: _ Allow running artifact server with `-v $PWD:/opt/d4e/river' tom@9684: (currently this leads to missing h2 databases) tom@9684: _ Let all components log to stdout to enable useful usage of `docker logs' tom@9684: _ Something better than setting framework and http-client to a branch tom@9684: explicitly in the Dockerfiles