Docker Deployment
This guide covers different ways to deploy the Apollon2 application using Docker.
Dockerized Web App
The webapp can be built and run with Docker. Make sure Docker is installed on your device.
Quick Start
Build with docker:
npm run docker:build
Run with docker:
npm run docker:start
After running npm run docker:start you can navigate to http://localhost:8080/ and start using the application.
Run Docker Locally
Make sure Docker is up and running.
Build and Run with Docker Compose
Build image with docker compose:
docker compose -f ./docker/compose.local.yml build
Run the container with docker compose:
docker compose -f ./docker/compose.local.yml up -d
Available Docker Compose Files
The project includes several Docker Compose configurations:
docker/compose.local.yml- Local development environmentdocker/compose.local.db.yml- Local database setupdocker/compose.prod.yml- Production environmentdocker/compose.proxy.yml- Proxy configurationdocker/compose.server.yml- Server-only deploymentdocker/compose.webapp.yml- Webapp-only deployment