Change port to 80
This commit is contained in:
parent
97dc6eb088
commit
1b3b82c7c9
4 changed files with 17 additions and 6 deletions
|
@ -3,7 +3,7 @@ MAINTAINER Aaron Fischer <mail@aaron-fischer.net>
|
|||
|
||||
ADD target/uberjar/yenu.jar /yenu/app.jar
|
||||
|
||||
EXPOSE 3000
|
||||
EXPOSE 80
|
||||
|
||||
WORKDIR "/yenu"
|
||||
CMD ["java", "-jar", "app.jar"]
|
||||
|
|
11
README.md
11
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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue