Fix copy/pasta for apps json deployer
This commit is contained in:
parent
663ba19c8b
commit
3b9d6a7eb2
@ -2,13 +2,13 @@
|
|||||||
version: "3.8"
|
version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
abra_installer:
|
app:
|
||||||
image: "nginx:stable"
|
image: "nginx:stable"
|
||||||
configs:
|
configs:
|
||||||
- source: abra_conf
|
- source: abra_conf
|
||||||
target: /etc/nginx/conf.d/abra.conf
|
target: /etc/nginx/conf.d/abra.conf
|
||||||
- source: abra_installer
|
- source: abra_apps_json
|
||||||
target: /var/www/abra-apps/installer
|
target: /var/www/abra-apps/abra-apps.json
|
||||||
volumes:
|
volumes:
|
||||||
- "public:/var/www/abra-apps"
|
- "public:/var/www/abra-apps"
|
||||||
networks:
|
networks:
|
||||||
@ -25,8 +25,8 @@ services:
|
|||||||
- "traefik.http.routers.abra-apps.tls.certresolver=production"
|
- "traefik.http.routers.abra-apps.tls.certresolver=production"
|
||||||
|
|
||||||
configs:
|
configs:
|
||||||
abra_installer:
|
abra_apps_json:
|
||||||
file: installer
|
file: abra-apps.json
|
||||||
abra_conf:
|
abra_conf:
|
||||||
file: nginx.conf
|
file: nginx.conf
|
||||||
|
|
||||||
|
@ -5,6 +5,6 @@ server {
|
|||||||
location / {
|
location / {
|
||||||
root /var/www/abra-apps;
|
root /var/www/abra-apps;
|
||||||
add_header Content-Type application/json;
|
add_header Content-Type application/json;
|
||||||
index installer;
|
index abra-apps.json;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user