init commit

This commit is contained in:
Richard Toth
2025-12-19 11:24:46 +01:00
commit c8bf011459
5 changed files with 58 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
web
+3
View File
@@ -0,0 +1,3 @@
** Rebuild **
docker compose --profile build run --rm satis-build
+32
View File
@@ -0,0 +1,32 @@
services:
satis-nginx:
image: nginx:alpine
container_name: satis-nginx
restart: unless-stopped
volumes:
- ./web:/usr/share/nginx/html:ro
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
environment:
VIRTUAL_HOST: satis.trweb.hu
LETSENCRYPT_HOST: satis.trweb.hu
LETSENCRYPT_EMAIL: info@tothbt.com
networks:
- web
satis-build:
image: composer/satis
container_name: satis-build
volumes:
- ./satis.json:/build/satis.json:ro
- ./web:/build/web
- ~/.ssh:/root/.ssh:ro
working_dir: /build
command: ["build", "satis.json", "web"]
networks:
- web
profiles:
- build
networks:
web:
external: true
+15
View File
@@ -0,0 +1,15 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ =404;
}
location ~* \.(json|zip|tgz)$ {
add_header Cache-Control "public, max-age=300";
}
}
+7
View File
@@ -0,0 +1,7 @@
{
"name": "tothbt/satis",
"homepage": "https://satis.trweb.hu",
"repositories": [],
"require-all": true,
"output-dir": "web"
}