Merge pull request 'MIH Flappak repo' (#5) from v.1.3.0 into main
Reviewed-on: #5
This commit is contained in:
commit
669336cc93
2 changed files with 38 additions and 0 deletions
|
|
@ -241,6 +241,18 @@ services:
|
|||
- "127.0.0.1:8085:80"
|
||||
networks:
|
||||
- mih-network
|
||||
#============== MIH-Flatpak Repository =========================================================
|
||||
mih-flatpak:
|
||||
image: nginx:alpine
|
||||
container_name: mih-flatpak
|
||||
restart: always
|
||||
volumes:
|
||||
- ./mih_ui/flatpak/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
- ./mih_ui/repo:/usr/share/nginx/html:ro
|
||||
ports:
|
||||
- "127.0.0.1:8086:80"
|
||||
networks:
|
||||
- mih-network
|
||||
#============== Firebaase ====================================================================
|
||||
# firebase:
|
||||
# container_name: MIH-firebase-emulator
|
||||
|
|
|
|||
26
mih_ui/flatpak/nginx.conf
Normal file
26
mih_ui/flatpak/nginx.conf
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
http {
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
sendfile on;
|
||||
tcp_nopush on;
|
||||
tcp_nodelay on;
|
||||
|
||||
keepalive_timeout 120;
|
||||
keepalive_requests 10000;
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
|
||||
location / {
|
||||
root /usr/share/nginx/html;
|
||||
autoindex on;
|
||||
expires 1d;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue