Mongoose server changes
This commit is contained in:
parent
9439cc238e
commit
3698caee7b
@ -47,7 +47,6 @@ RUN echo "dbfolder = '/data' \nsse_pubKey = '02b68a7ba52a499b4cb664033f511a14b0b
|
||||
WORKDIR ../
|
||||
RUN git clone https://github.com/ranchimall/floscout.git
|
||||
WORKDIR floscout
|
||||
COPY example .
|
||||
RUN sed -i "s|window.tokenapiUrl = 'http://0.0.0.0:6012'|window.tokenapiUrl = $FLOAPIURL|" /floscout/index.html
|
||||
WORKDIR ../
|
||||
|
||||
@ -73,6 +72,7 @@ RUN touch /var/log/floscout/floscout.out.log
|
||||
|
||||
RUN mkdir /data
|
||||
WORKDIR /
|
||||
COPY mongoose-server
|
||||
COPY run.sh .
|
||||
RUN chmod +x run.sh
|
||||
ENTRYPOINT ["sh","/run.sh"]
|
||||
|
||||
@ -6,8 +6,8 @@ VCFLAGS = /nologo /W3 /O2 /I../.. $(DEFS) $(EXTRA) /link /incremental:no /machin
|
||||
VC98 = docker run -it --rm -e Tmp=. -v $(ROOT):$(ROOT) -w $(CURDIR) mdashnet/vc98
|
||||
LIN = docker run -it --rm -v $(ROOT):$(ROOT) -w $(CURDIR) mdashnet/cc2
|
||||
|
||||
all: $(PROG)
|
||||
$(RUN) ./$(PROG) $(ARGS)
|
||||
#all: $(PROG)
|
||||
# $(RUN) ./$(PROG) $(ARGS)
|
||||
|
||||
$(PROG): main.c Makefile
|
||||
$(CC) ../../mongoose.c main.c -I../.. $(CFLAGS) -o $@
|
||||
|
||||
Binary file not shown.
@ -6,7 +6,7 @@
|
||||
|
||||
static const char *s_debug_level = "2";
|
||||
static const char *s_root_dir = ".";
|
||||
static const char *s_listening_address = "http://0.0.0.0:6201";
|
||||
static const char *s_listening_address = "http://0.0.0.0:6012";
|
||||
static const char *s_enable_hexdump = "no";
|
||||
static const char *s_ssi_pattern = "#.html";
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user