diff --git a/Dockerfile b/Dockerfile index 77e7ec6..428171d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ MAINTAINER Aaron Fischer ADD target/uberjar/yenu.jar /yenu/app.jar -EXPOSE 3000 +EXPOSE 80 WORKDIR "/yenu" CMD ["java", "-jar", "app.jar"] diff --git a/README.md b/README.md index a7d2631..0abd508 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,17 @@ it there or you put it on your RaspberryPi and host it yourself from your own internet connection from home (preferred way!). You can also rent a vServer and deploy it there. All you need is a Java RE and a internet connection. + +# Build it yourself +You need the Clojure Toolchain and Leiningen. After that, just run the +following command in the root dir. The resulting jar file is located in +target/uberjar. + + $ lein uberjar + +# Hack it + + > cider-jack-in # License, Copyrights and Author This tool is written by Aaron Fischer (aaron-fischer.net). It is free to use diff --git a/docker-compose.yml b/docker-compose.yml index 0d03b07..36915b6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,8 +3,8 @@ app: environment: TZ: "Europe/Berlin" ports: - - "127.0.0.1:80:3000" + - "127.0.0.1:80:80" volumes: - ./data:/yenu/data - - ./yenu.properties:/yenu/yenu.properties + - ./yenu.properties:/yenu/yenu.properties:ro - ./yenu.db:/yenu/yenu.db diff --git a/yenu.properties b/yenu.properties index 9550a79..611ffcd 100644 --- a/yenu.properties +++ b/yenu.properties @@ -1,11 +1,11 @@ basepath=http://127.0.0.1 host=0.0.0.0 -port=3000 +port=80 # Passwords user-password=user creator-password=creator # Content stuff -images-per-page=25 -authors=Aaron Fischer,Beatrice Fischer +images-per-page=3 +authors=Aaron Fischer