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
[+] Template: Gitea (MariaDB)
TheH2SO4061aeba6053d
diff --git a/templates/compose/gitea-with-mariadb.yaml b/templates/compose/gitea-with-mariadb.yamlnew file mode 100644index 0000000000..a19a755d1b--- /dev/null+++ b/templates/compose/gitea-with-mariadb.yaml@@ -0,0 +1,45 @@+# documentation: https://docs.gitea.com+# slogan: Gitea (with MariaDB)vis a self-hosted, lightweight Git service, offering version control, collaboration, and code hosting.+# tags: version control, collaboration, code, hosting, lightweight, mariadb++services:+ gitea:+ image: gitea/gitea:latest+ environment:+ - SERVICE_FQDN_GITEA+ - USER_UID=1000+ - USER_GID=1000+ - GITEA__database__DB_TYPE=mysql+ - GITEA__database__HOST=mariadb+ - GITEA__database__NAME=${MYSQL_DATABASE-gitea}+ - GITEA__database__USER=$SERVICE_USER_MYSQL+ - GITEA__database__PASSWD=$SERVICE_PASSWORD_MYSQL+ volumes:+ - gitea-data:/var/lib/gitea+ - gitea-timezone:/etc/timezone:ro+ - gitea-localtime:/etc/localtime:ro+ labels:+ - "traefik.http.services.gitea-websecure.loadbalancer.server.port=3000"+ depends_on:+ mariadb:+ condition: service_healthy+ healthcheck:+ test: ["CMD", "curl", "-f", "http://localhost:3000"]+ interval: 2s+ timeout: 10s+ retries: 15++ mariadb:+ image: mariadb:11+ volumes:+ - gitea-mariadb-data:/var/lib/mysql+ environment:+ - MYSQL_USER=${SERVICE_USER_MYSQL}+ - MYSQL_PASSWORD=${SERVICE_PASSWORD_MYSQL}+ - MYSQL_DATABASE=${MYSQL_DATABASE}+ - MYSQL_ROOT_PASSWORD=${SERVICE_PASSWORD_MYSQLROOT}+ healthcheck:+ test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]+ interval: 5s+ timeout: 20s+ retries: 10