configure local port too

This commit is contained in:
2018-01-25 14:59:34 +02:00
parent f6696d8e28
commit 111fcc9194
3 changed files with 7 additions and 5 deletions

View File

@@ -2,12 +2,13 @@
a very small file sharing website
- configure with data/shares.json
- configure with data/config.json
- configure shares with data/shares.json
- generate shares with utils/create-share.py
- configure service with data/config.json
- uid = user id for new files
- workers = parallel processes (i.e. one upload reserves a process)
- timeout = timeout for processes, single upload might take a long time!
- generate shares with utils/create-share.py
- configure bind host and port in .env
- proxy with nginx:
```
location /flees/ {

View File

@@ -6,10 +6,10 @@ services:
build:
context: code
ports:
- 127.0.0.1:8136:80
- "${FLEES_EXPOSE}:80"
volumes:
- ./data/:/code/data/
# restart: always
restart: always

1
env.example Normal file
View File

@@ -0,0 +1 @@
FLEES_EXPOSE=127.0.0.1:8136