- Place dump sql to ./volumes/postgresql/initdb/
- Modify ./volumes/tomcat/conf/Catalina/localhost/service_manager.xml to fit your settings.
- Place war file to ./volumes/tomcat/webapps
- Modify ./docker-compose.yml to make settings consistent.
- Run docker-compose
# You need to build postgresql first
docker-compose up postgresql
# Then, launch services (postgresql, tomcat)
docker-compose up -d