Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 997 Bytes

docker.md

File metadata and controls

27 lines (15 loc) · 997 Bytes

Deployment on Docker Image

A docker image is available on Docker Hub. See Docker Deployment for details.

Simple Way

docker run --rm -p 3000:3000 abaplint/abaplint-backend

or for background

docker run --rm -p 3000:3000 -d abaplint/abaplint-backend

You can change the port adding -e "PORT=xxx" parameter. Or the verbosity of log -e "VERBOSE=1"

Building Own Container

See the content of docker directory. There are Dockerfile and docker-compose template. E.g. run docker build -f docker/Dockerfile -t abaplint-backend . to build your image from scratch.

TODO: https docker compose, logging advices

Environment Variables

The package respects .env file (must not be committed to the repo though!). Here are the available variables:

  • PORT - port to listen at
  • ALB_SUPPRESS_FRONPAGE_LOG - disable frontpage log: set 1 to disable
  • VERBOSE - set to 1 to output more detail stdout log