feat: add onedev template
This commit is contained in:
51
public/svgs/onedev.svg
Normal file
51
public/svgs/onedev.svg
Normal file
@@ -0,0 +1,51 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="200 200 630 630"
|
||||
height="200"
|
||||
width="200"
|
||||
version="1.1">
|
||||
<g
|
||||
transform="matrix(1.969278,0,0,1.969278,522.1972,523.64867)">
|
||||
<g
|
||||
paint-order="stroke">
|
||||
<g
|
||||
transform="matrix(1.6226969,0,0,-1.6226969,2.4340454,49.894842)">
|
||||
<path
|
||||
stroke-linecap="round"
|
||||
d="m 0,0 c 9.013,0 16.323,3.81 16.323,8.503 0,4.697 -7.31,4.663 -16.323,4.663 -9.015,0 -16.323,0.034 -16.323,-4.663 C -16.323,3.81 -9.015,0 0,0"
|
||||
transform="translate(0,-6.5830035)"
|
||||
paint-order="stroke"
|
||||
style="opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
</g>
|
||||
<g
|
||||
transform="scale(1.6226969,-1.6226969)">
|
||||
<path
|
||||
stroke-linecap="round"
|
||||
d="m 0,0 c -10.7,0 -19.375,-8.674 -19.375,-19.375 0,-6.235 2.958,-11.768 7.533,-15.312 -9.205,-22.861 -31.582,-39.042 -57.699,-39.042 -13.013,0 -25.101,4.021 -35.1,10.876 2.549,4.364 4.016,9.436 4.016,14.853 0,16.292 -13.208,29.5 -29.5,29.5 -0.415,0 -0.827,-0.015 -1.238,-0.031 -0.261,2.309 -0.408,4.653 -0.408,7.031 0,10.383 2.57,20.171 7.084,28.784 10.565,22.164 33.744,37.56 60.658,37.56 24.747,0 46.31,-13.023 57.838,-32.347 -1.504,-1.553 -2.434,-3.665 -2.434,-5.997 0,-4.764 3.861,-8.625 8.625,-8.625 4.764,0 8.625,3.861 8.625,8.625 0,4.088 -2.848,7.504 -6.665,8.393 -1.01,1.971 -2.089,3.902 -3.251,5.776 3.102,3.499 5.018,8.066 5.018,13.106 0,10.953 -8.882,19.832 -19.834,19.832 -5.277,0 -10.033,-2.094 -13.581,-5.459 -11.75,6.755 -25.354,10.625 -39.853,10.625 -14.169,0 -27.485,-3.705 -39.051,-10.175 -3.497,3.109 -8.082,5.009 -13.128,5.009 -10.956,0 -19.834,-8.879 -19.834,-19.832 0,-4.643 1.598,-8.91 4.273,-12.285 -7.92,-12.438 -12.533,-27.18 -12.533,-42.99 0,-4.618 0.413,-9.14 1.166,-13.547 -6.693,-5.408 -10.977,-13.679 -10.977,-22.953 0,-16.292 13.208,-29.5 29.5,-29.5 4.15,0 8.097,0.86 11.68,2.407 13.551,-10.446 30.509,-16.68 48.904,-16.68 35.091,0 64.955,22.649 75.833,54.088 7.607,2.615 13.083,9.816 13.083,18.31 C 19.375,-8.674 10.7,0 0,0"
|
||||
transform="translate(70.125,11.5)"
|
||||
paint-order="stroke"
|
||||
style="opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
</g>
|
||||
<g
|
||||
transform="matrix(1.6226969,0,0,-1.6226969,-41.533257,-8.9250313)">
|
||||
<path
|
||||
stroke-linecap="round"
|
||||
d="m 0,0 c 3.561,1.848 7.952,0.457 9.8,-3.105 0.127,-0.246 0.205,-0.503 0.304,-0.759 1.367,9.134 -1.382,17.072 -7.088,18.88 -6.791,2.152 -15.166,-5.181 -18.713,-16.372 -3.546,-11.195 -0.915,-22.012 5.873,-24.161 6.137,-1.944 13.562,3.878 17.552,13.287 -0.323,-0.247 -0.661,-0.482 -1.032,-0.674 -3.564,-1.85 -7.951,-0.463 -9.801,3.102 C -4.953,-6.239 -3.564,-1.85 0,0"
|
||||
transform="translate(3.4126028,5.2498778)"
|
||||
paint-order="stroke"
|
||||
style="opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
</g>
|
||||
<g
|
||||
transform="matrix(1.6226969,0,0,-1.6226969,46.400783,-8.9251198)">
|
||||
<path
|
||||
stroke-linecap="round"
|
||||
d="M 0,0 C 6.789,2.148 9.42,12.966 5.873,24.16 2.326,35.352 -6.049,42.685 -12.84,40.532 c -5.705,-1.807 -8.455,-9.746 -7.088,-18.88 0.1,0.256 0.178,0.514 0.305,0.759 1.848,3.563 6.238,4.953 9.799,3.106 3.564,-1.85 4.953,-6.24 3.105,-9.802 -1.849,-3.566 -6.236,-4.952 -9.801,-3.103 -0.371,0.193 -0.709,0.428 -1.031,0.674 C -13.563,3.878 -6.137,-1.944 0,0"
|
||||
transform="translate(6.411045,-20.266777)"
|
||||
paint-order="stroke"
|
||||
style="opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 3.8 KiB |
41
templates/compose/onedev.yaml
Normal file
41
templates/compose/onedev.yaml
Normal file
@@ -0,0 +1,41 @@
|
||||
# documentation: https://docs.onedev.io/
|
||||
# slogan: Git server with CI/CD, kanban, and packages. Seamless integration. Unparalleled experience.
|
||||
# tags: git, scm, ci, cd, kanban, packages, devops, collaboration, code, repository, management
|
||||
# logo: svgs/onedev.svg
|
||||
# port: 6610
|
||||
services:
|
||||
onedev-app:
|
||||
image: 1dev/server:latest
|
||||
volumes:
|
||||
- onedev-docker-sock:/var/run/docker.sock
|
||||
- onedev-data:/opt/onedev
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- hibernate_dialect=io.onedev.server.persistence.PostgreSQLDialect
|
||||
- hibernate_connection_driver_class=org.postgresql.Driver
|
||||
- hibernate_connection_url=jdbc:postgresql://postgres:5432/${POSTGRESQL_DATABASE:-onedev}
|
||||
- hibernate_connection_username=${SERVICE_USER_DATABASE}
|
||||
- hibernate_connection_password=${SERVICE_PASSWORD_64_DATABASE}
|
||||
- initial_user=${SERVICE_USER_ONEDEV}
|
||||
- initial_password=${SERVICE_PASSWORD_ONEDEV}
|
||||
- initial_email=${ONEDEV_EMAIL:-mail@example.com}
|
||||
- initial_server_url=${SERVICE_FQDN_ONEDEV_6610}
|
||||
- initial_ssh_root_url=${SSH_ROOT_URL:-ssh://changeme:22}
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
healthcheck:
|
||||
test: ["CMD", "true"]
|
||||
postgres:
|
||||
image: postgres:16-alpine
|
||||
volumes:
|
||||
- postgresql-data:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_USER=${SERVICE_USER_DATABASE}
|
||||
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_64_DATABASE}
|
||||
- POSTGRES_DB=${POSTGRESQL_DATABASE:-onedev}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready"]
|
||||
interval: 5s
|
||||
timeout: 20s
|
||||
retries: 10
|
Reference in New Issue
Block a user