]> prime8.dev >> repos - p8d.git/commitdiff
Added CSC website
authorDamian Myrda <monkey.damianek@gmail.com>
Tue, 17 Sep 2024 23:35:04 +0000 (18:35 -0500)
committerDamian Myrda <monkey.damianek@gmail.com>
Tue, 17 Sep 2024 23:38:59 +0000 (18:38 -0500)
caddy
compose.yml
csc/.gitignore [new file with mode: 0644]

diff --git a/caddy b/caddy
index 345ccc3948d3e32414119ab59307cfc51b2cddbd..d089997a7ba694ca0d376c3d35f6cd3d40eb949a 100644 (file)
--- a/caddy
+++ b/caddy
@@ -29,3 +29,10 @@ git.prime8.dev {
 
   tls damian@prime8.dev
 }
+
+csc.prime8.dev {
+  reverse_proxy http://csc:80
+  cache
+
+  tls damian@prime8.dev
+}
index ad588b46653f151f9bb6c814995f4f5b5f23b662..591b181b87c15214595814bc852346f39a650ecf 100644 (file)
@@ -76,5 +76,18 @@ services:
       - common
     restart: always
 
+  csc:
+    container_name: csc
+    image: moncheeta/csc:latest
+    environment:
+      - DOMAIN=csc.prime8.dev
+    env_file: ./csc/env
+    volumes:
+      - ./csc/auth.json:/app/google_auth.json
+    expose:
+      - "80"
+    networks:
+      - common
+
 networks:
   common:
diff --git a/csc/.gitignore b/csc/.gitignore
new file mode 100644 (file)
index 0000000..098fbfc
--- /dev/null
@@ -0,0 +1,2 @@
+/env
+/auth.json