diff options
| -rw-r--r-- | template/docker-compose.yaml.template | 2 | ||||
| -rw-r--r-- | template/nginx/server.json | 53 | 
2 files changed, 30 insertions, 25 deletions
| diff --git a/template/docker-compose.yaml.template b/template/docker-compose.yaml.template index 4f85036..04ab98b 100644 --- a/template/docker-compose.yaml.template +++ b/template/docker-compose.yaml.template @@ -148,7 +148,7 @@ services:    debian-dev:      pull_policy: build      build: -      context: ./docker/code-server +      context: ./docker/crupest-debian-dev        dockerfile: Dockerfile        pull: true        tags: diff --git a/template/nginx/server.json b/template/nginx/server.json index e810234..eadce1e 100644 --- a/template/nginx/server.json +++ b/template/nginx/server.json @@ -1,24 +1,29 @@ -{
 -    "$schema": "./server.schema.json",
 -    "sites": [
 -        {
 -            "type": "reverse-proxy",
 -            "subdomain": "timeline",
 -            "upstream": "timeline:5000"
 -        },
 -        {
 -            "type": "static-file",
 -            "subdomain": "blog",
 -            "root": "/srv/blog"
 -        },
 -        {
 -            "type": "redirect",
 -            "subdomain": "github",
 -            "url": "https://github.com/crupest"
 -        },
 -        {
 -            "type": "cert-only",
 -            "subdomain": "mail"
 -        }
 -    ]
 -}
 +{ +    "$schema": "./server.schema.json", +    "sites": [ +        { +            "type": "reverse-proxy", +            "subdomain": "timeline", +            "upstream": "timeline:5000" +        }, +        { +            "type": "reverse-proxy", +            "subdomain": "code", +            "upstream": "debian-dev:8080" +        }, +        { +            "type": "static-file", +            "subdomain": "blog", +            "root": "/srv/blog" +        }, +        { +            "type": "redirect", +            "subdomain": "github", +            "url": "https://github.com/crupest" +        }, +        { +            "type": "cert-only", +            "subdomain": "mail" +        } +    ] +} | 
