mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-10 18:05:48 +02:00
chore(demo): update config
This commit is contained in:
parent
df899fe621
commit
acf2d13ded
2 changed files with 16 additions and 0 deletions
|
@ -6,7 +6,9 @@ ARG TARGETVARIANT
|
|||
WORKDIR /app
|
||||
EXPOSE 80
|
||||
|
||||
# copy demo config
|
||||
COPY resources/demo/ojbk.me /etc/nginx/sites-available/ojbk.me
|
||||
RUN ln -s /etc/nginx/sites-available/ojbk.me /etc/nginx/sites-enabled/ojbk.me
|
||||
COPY resources/demo/app.ini /etc/nginx-ui/app.ini
|
||||
COPY resources/demo/demo.db /etc/nginx-ui/database.db
|
||||
|
||||
|
@ -18,6 +20,7 @@ RUN echo 'longrun' > /etc/s6-overlay/s6-rc.d/nginx-ui/type && \
|
|||
# copy nginx config
|
||||
COPY resources/docker/nginx.conf /etc/nginx/nginx.conf
|
||||
COPY resources/docker/nginx-ui.conf /etc/nginx/conf.d/nginx-ui.conf
|
||||
COPY resources/demo/stub_status_nginx-ui.conf /etc/nginx/conf.d/stub_status_nginx-ui.conf
|
||||
|
||||
# copy nginx-ui executable binary
|
||||
COPY nginx-ui-$TARGETOS-$TARGETARCH$TARGETVARIANT/nginx-ui /usr/local/bin/nginx-ui
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue