Skip to content

nixoletas/padnt-dockerized

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Padn't

This is a fork of Baioc's Padn't Thanks @baioc for this amazing repo!

Padn't is a Dontpad clone implemented with Java Spring Boot.


padnt-index-transparent

Starting the dockerized server

build the app

mvn clean package
docker compose up -d --build

Dockerfile

FROM openjdk:24-oraclelinux9
MAINTAINER baeldung.com
COPY target/padnt-0.2.0-SNAPSHOT.jar app.jar
ENTRYPOINT ["java","-jar","/app.jar"]

docker-compose.yml

services:
  message-server:
    image: padnt:1.0.0
    build:
      context: .
    ports:
      - "8080:8080"
    volumes:
      - ./logs:/logs/tomcat         # Persist Tomcat logs
      - ./database:/database
    restart: always
    container_name: padnt

Environment variables

Name Value
SERVER_PORT 8080
LOGGING_LEVEL_ROOT INFO
LOGGING_LEVEL_BAIOC_PADNT ${LOGGING_LEVEL_ROOT}
JAVA_OPTS ''

NOTE: JAVA_OPTS can be used to override anything else on application.properties, for instance.

About

A Dontpad clone implemented with Spring Boot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 62.6%
  • HTML 36.2%
  • Dockerfile 1.2%