aboutsummaryrefslogtreecommitdiff
path: root/templates/disabled
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-02-22 18:11:35 +0800
committerYuqian Yang <crupest@crupest.life>2025-02-23 01:36:11 +0800
commit1e9b2436eaffa4130f6a69c3a108f6feb9dd4ac8 (patch)
tree585b6124b0100371b4bd8a291c4a59fbb5fbf1fe /templates/disabled
parenta931457d61b053682d5e89a0cfb411e43e5e21c7 (diff)
downloadcrupest-1e9b2436eaffa4130f6a69c3a108f6feb9dd4ac8.tar.gz
crupest-1e9b2436eaffa4130f6a69c3a108f6feb9dd4ac8.tar.bz2
crupest-1e9b2436eaffa4130f6a69c3a108f6feb9dd4ac8.zip
feat(services): refactor structure.
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, 0 insertions, 73 deletions
diff --git a/templates/disabled/docker-compose.yaml b/templates/disabled/docker-compose.yaml
deleted file mode 100644
index 565ca49..0000000
--- a/templates/disabled/docker-compose.yaml
+++ /dev/null
@@ -1,32 +0,0 @@
-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
deleted file mode 100644
index 0abe042..0000000
--- a/templates/disabled/nginx/code.conf.template
+++ /dev/null
@@ -1,20 +0,0 @@
-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
deleted file mode 100644
index ce7341b..0000000
--- a/templates/disabled/nginx/timeline.conf.template
+++ /dev/null
@@ -1,21 +0,0 @@
-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;
-}