diff --git a/.env.example b/.env.example index eb8e47b4..7bc00bdc 100644 --- a/.env.example +++ b/.env.example @@ -1052,3 +1052,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 7007d00c..5ae06185 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2076,3 +2076,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