]> prime8.dev >> repos - p8d.git/commitdiff
Add git forge
authorDamian Myrda <monkey.damianek@gmail.com>
Fri, 5 Jul 2024 20:41:33 +0000 (15:41 -0500)
committerDamian Myrda <monkey.damianek@gmail.com>
Fri, 5 Jul 2024 20:41:33 +0000 (15:41 -0500)
compose.yml
git.env [new file with mode: 0644]

index b7da4be746964611430510cdd3a2f54cd869e689..569b57336904458ff635c9885810bcb3ccdb3956 100644 (file)
@@ -10,6 +10,7 @@ services:
       - /etc/letsencrypt/live/prime8.dev/privkey.pem:/ssl/privkey.pem
     restart: always
     stop_grace_period: 1m
+
   mail:
     container_name: mail
     image: ghcr.io/docker-mailserver/docker-mailserver:latest
@@ -23,10 +24,10 @@ services:
       - "993:993"  # IMAP4 (implicit TLS)
     volumes:
       - /etc/localtime:/etc/localtime/:ro
-      - /var/mail/data/:/var/mail/
-      - /var/mail/state/:/var/mail-state/
-      - /var/mail/logs/:/var/log/mail/
-      - /var/mail/config/:/tmp/docker-mailserver/
+      - mail:/data/:/var/mail/
+      - mail:/state/:/var/mail-state/
+      - mail:/logs/:/var/log/mail/
+      - mail:/config/:/tmp/docker-mailserver/
       - /etc/letsencrypt/:/etc/letsencrypt/
     cap_add:
       - NET_ADMIN
@@ -36,3 +37,18 @@ services:
       retries: 0
     restart: always
     stop_grace_period: 1m
+
+  git:
+    container_name: git
+    image: bacnh85/gitolite-cgit
+    env_file: git.env
+    volumes:
+      - git:/var/lib/git/
+    ports:
+      - "22:22"
+      - "80:80"
+      - "9418:9418"
+
+volumes:
+  mail:
+  git:
diff --git a/git.env b/git.env
new file mode 100644 (file)
index 0000000..ff2b92c
--- /dev/null
+++ b/git.env
@@ -0,0 +1,5 @@
+SSH_KEY="ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbhuxFr7zO5fcvLMP8dt1SQAQ1uEw0rJCeFI7o5JFULA4w1dB9yc9FotnVwxRroXpBHxmH7jTFsuCXjHj5CQFDnDb0Vq6iVrtj4WEWBg4N+juA347pmKPLVnyEofpjIHHFSj4b4U/ozk/xEfekNrAxrjhMYcREXQsMI168MNupCEqrqWAyDygokKTicwEX0YNCX2ig5Obs9dUj/nbaWL9/kWgOejuAzQd9guncC0r6Oc8yce+FHjqFpd6tApCLF1IN0KNBfj2k24WEU9JuovwwZ+mbFvKTeZF0O9aXlvuVlrKIS6yfn6Srh22GQJMEhcDMypO8t3AnsKli6vM6J7iUWJuksLf9fOty2ZfJghMOlUHYVcAaXPn2ESReNjSJfHtNOsvIlXsXMznFnTK2WL0115aF0th9Ivxn+t/9onOj6iQALgIYiRSM9tg7zKu1+vglZmU1CKsdzXGGP5P/UVeQFkxjUsYEjEebInfbIl6I246HpLLQIwkqGm/21Ge5hLAEiKYtasoFyRqcc1pWhwj96TMw096pWGrZg89CO8P0U9INhWfHbogT4c07reZpZuSH745thufYQ0CtgJQOlCTQdyilHyZL3d6yDoITNycqMIklnNPRDB9Po5tdD6qzDg7p//OurYx3d5FkhMby6H8/B/79E0+ASh3so5TRP6hiOw== damian@prime8.dev"
+SSH_KEY_NAME="moncheeta"
+
+CGIT_CLONE_PREFIX="git://prime8.dev"
+CGIT_ROOT_TITLE="banana recipes"