From 8357ef0b8cfaf20214489e9cf18c02b8f6148727 Mon Sep 17 00:00:00 2001 From: wangxiao Date: Mon, 22 Aug 2022 17:53:58 +0800 Subject: [PATCH] add onedev(Self-hosted Git Server with CI/CD and Kanban) https://github.com/theonedev/onedev --- .env.example | 4 ++++ docker-compose.yml | 14 ++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/.env.example b/.env.example index fcf07853..9f1e3691 100644 --- a/.env.example +++ b/.env.example @@ -1050,3 +1050,7 @@ NATS_ROUTE_PORT=8222 ### SOKETI ################################################## SOKETI_PORT=6001 SOKETI_METRICS_SERVER_PORT=9601 + +### ONEDEV ################################################## +ONEDEV_HTTP_PORT=6610 +ONEDEV_SSH_PORT=6611 diff --git a/docker-compose.yml b/docker-compose.yml index 74fb92c2..c708e0d5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2075,3 +2075,17 @@ services: - ${TARANTOOL_ADMIN_PORT}:80 networks: - backend + + ### onedev #################################################### + onedev: + image: 1dev/server + ports: + - "${ONEDEV_HTTP_PORT}:6610" + - "${ONEDEV_SSH_PORT}:6611" + volumes: + - ${DATA_PATH_HOST}/onedev:/opt/onedev + - /var/run/docker.sock:/var/run/docker.sock + networks: + - frontend + - backend + restart: always