aboutsummaryrefslogtreecommitdiff
path: root/templates/disabled
diff options
context:
space:
mode:
Diffstat (limited to 'templates/disabled')
-rw-r--r--templates/disabled/docker-compose.yaml32
-rw-r--r--templates/disabled/nginx/code.conf.template20
-rw-r--r--templates/disabled/nginx/timeline.conf.template21
3 files changed, 73 insertions, 0 deletions
diff --git a/templates/disabled/docker-compose.yaml b/templates/disabled/docker-compose.yaml
new file mode 100644
index 0000000..565ca49
--- /dev/null
+++ b/templates/disabled/docker-compose.yaml
@@ -0,0 +1,32 @@
+services:
+ debian-dev:
+ pull_policy: build
+ build:
+ context: ./docker/debian-dev
+ dockerfile: Dockerfile
+ pull: true
+ args:
+ - USER=crupest
+ tags:
+ - "crupest/debian-dev:latest"
+ container_name: debian-dev
+ init: true
+ command: [ "/bootstrap/start/code-server.bash" ]
+ volumes:
+ - ./data/debian-dev:/data
+ - debian-dev-home:/home/crupest
+ restart: on-failure:3
+
+ timeline:
+ image: crupest/timeline:latest
+ pull_policy: always
+ container_name: timeline
+ restart: on-failure:3
+ environment:
+ - ASPNETCORE_FORWARDEDHEADERS_ENABLED=true
+ - TIMELINE_DisableAutoBackup=true
+ volumes:
+ - ./data/timeline:/root/timeline
+
+volumes:
+ debian-dev-home:
diff --git a/templates/disabled/nginx/code.conf.template b/templates/disabled/nginx/code.conf.template
new file mode 100644
index 0000000..205c7ba
--- /dev/null
+++ b/templates/disabled/nginx/code.conf.template
@@ -0,0 +1,20 @@
+server {
+ server_name code.${CRUPEST_DOMAIN};
+ include common/https-listen;
+
+ location / {
+ include common/proxy-common;
+ proxy_pass http://debian-dev:8080/;
+ }
+
+ client_max_body_size 5G;
+}
+
+
+server {
+ server_name code.${CRUPEST_DOMAIN};
+ include common/http-listen;
+
+ include common/https-redirect;
+ include common/acme-challenge;
+}
diff --git a/templates/disabled/nginx/timeline.conf.template b/templates/disabled/nginx/timeline.conf.template
new file mode 100644
index 0000000..551e0ae
--- /dev/null
+++ b/templates/disabled/nginx/timeline.conf.template
@@ -0,0 +1,21 @@
+server {
+ listen 443 ssl http2;
+ listen [::]:443 ssl http2;
+ server_name timeline.${CRUPEST_DOMAIN};
+
+ location / {
+ include common/reverse-proxy;
+ proxy_pass http://timeline:5000/;
+ }
+
+ client_max_body_size 5G;
+}
+
+server {
+ listen 80;
+ listen [::]:80;
+ server_name timeline.${CRUPEST_DOMAIN};
+
+ include common/https-redirect;
+ include common/acme-challenge;
+}