Change port to 80

This commit is contained in:
Aaron Fischer 2021-07-30 23:57:38 +02:00 committed by Aaron Fischer
parent dfd8efa8e7
commit bf76a4b323
No known key found for this signature in database
GPG key ID: A62EFAEA293B99D7
4 changed files with 17 additions and 6 deletions

View file

@ -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"]

View file

@ -55,6 +55,17 @@ 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
and is placed under the GPL v.3. The images, comments and other metadata

View file

@ -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

View file

@ -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