Skip to content

An api server with database in postgreeSql, all ready to be deployed in a docker compose

License

Notifications You must be signed in to change notification settings

christianbegines/TotalWarhammerServer

Repository files navigation

Docker Compose

A sample Ktor project showing how to run a Ktor application consisting of a web frontend and a database backend under Docker Compose.

This sample is a part of the codeSnippets Gradle project.

Running

To run this application under Docker Compose, follow the steps below:

  1. Create a fat JAR containing a Ktor application:
     ./gradlew :twwdataapp:buildFatJar
  2. Run the docker-compose up command:
    docker compose --project-directory twwdataapp up
    Wait until Docker Compose pulls/builds the images and starts containers.

About

An api server with database in postgreeSql, all ready to be deployed in a docker compose

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published