configure local port too
This commit is contained in:
@@ -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/ {
|
||||
|
||||
@@ -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
1
env.example
Normal file
@@ -0,0 +1 @@
|
||||
FLEES_EXPOSE=127.0.0.1:8136
|
||||
Reference in New Issue
Block a user