An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix onedev
peaklabs-devdc75e5dc6e05
diff --git a/templates/compose/onedev.yaml b/templates/compose/onedev.yamlindex 87e719dafa..69c06baf94 100644--- a/templates/compose/onedev.yaml+++ b/templates/compose/onedev.yaml@@ -3,14 +3,15 @@# tags: git, scm, ci, cd, kanban, packages, devops, collaboration, code, repository, management# logo: svgs/onedev.svg# port: 6610+services:- onedev-app:+ onedev:image: 1dev/server:latestvolumes:- onedev-docker-sock:/var/run/docker.sock- onedev-data:/opt/onedev- restart: unless-stoppedenvironment:+ - SERVICE_FQDN_ONEDEV_6610- hibernate_dialect=io.onedev.server.persistence.PostgreSQLDialect- hibernate_connection_driver_class=org.postgresql.Driver- hibernate_connection_url=jdbc:postgresql://postgres:5432/${POSTGRESQL_DATABASE:-onedev}@@ -19,17 +20,18 @@ services:- initial_user=${SERVICE_USER_ONEDEV}- initial_password=${SERVICE_PASSWORD_ONEDEV}- initial_email=${ONEDEV_EMAIL:[email protected]}- - initial_server_url=${SERVICE_FQDN_ONEDEV_6610}+ - initial_server_url=${SERVICE_FQDN_ONEDEV}- initial_ssh_root_url=${SSH_ROOT_URL:-ssh://changeme:22}depends_on:postgres:condition: service_healthyhealthcheck:test: ["CMD", "true"]+postgres:image: postgres:16-alpinevolumes:- - postgresql-data:/var/lib/postgresql/data+ - onedev-postgresql-data:/var/lib/postgresql/dataenvironment:- POSTGRES_USER=${SERVICE_USER_DATABASE}- POSTGRES_PASSWORD=${SERVICE_PASSWORD_64_DATABASE}@@ -38,4 +40,4 @@ services:test: ["CMD-SHELL", "pg_isready"]interval: 5stimeout: 20s- retries: 10\ No newline at end of file+ retries: 10