configure local port too
This commit is contained in:
@@ -2,12 +2,13 @@
|
|||||||
|
|
||||||
a very small file sharing website
|
a very small file sharing website
|
||||||
|
|
||||||
- configure with data/shares.json
|
- configure shares with data/shares.json
|
||||||
- configure with data/config.json
|
- generate shares with utils/create-share.py
|
||||||
|
- configure service with data/config.json
|
||||||
- uid = user id for new files
|
- uid = user id for new files
|
||||||
- workers = parallel processes (i.e. one upload reserves a process)
|
- workers = parallel processes (i.e. one upload reserves a process)
|
||||||
- timeout = timeout for processes, single upload might take a long time!
|
- 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:
|
- proxy with nginx:
|
||||||
```
|
```
|
||||||
location /flees/ {
|
location /flees/ {
|
||||||
|
|||||||
@@ -6,10 +6,10 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: code
|
context: code
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:8136:80
|
- "${FLEES_EXPOSE}:80"
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/:/code/data/
|
- ./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