umbrel-apps/gitea/docker-compose.yml

44 lines
1.4 KiB
YAML
Raw Normal View History

2022-04-20 20:32:07 +00:00
version: "3.7"
services:
2022-05-16 13:30:51 +00:00
app_proxy:
environment:
APP_HOST: gitea_server_1
APP_PORT: 8085
PROXY_AUTH_ADD: "false"
2022-05-16 13:30:51 +00:00
2022-04-20 20:32:07 +00:00
server:
image: gitea/gitea:1.22.1-rootless@sha256:b993066ee54589fd9d7598995d835f0702ced992bab64e329e9d8ea010ee994f
2022-04-20 20:32:07 +00:00
user: "1000:1000"
restart: on-failure
ports:
- "${APP_GITEA_SSH_PORT}:${APP_GITEA_SSH_PORT}"
volumes:
- ${APP_DATA_DIR}/data/gitea/data:/var/lib/gitea
- ${APP_DATA_DIR}/data/gitea/config:/etc/gitea
environment:
GITEA__security__INSTALL_LOCK: "true"
GITEA__server__DOMAIN: "${APP_DOMAIN}"
GITEA__server__HTTP_PORT: 8085
2022-04-20 20:32:07 +00:00
GITEA__server__SSH_DOMAIN: "${APP_DOMAIN}"
GITEA__server__SSH_PORT: "${APP_GITEA_SSH_PORT}"
GITEA__server__SSH_LISTEN_PORT: "${APP_GITEA_SSH_PORT}"
GITEA__server__START_SSH_SERVER: "true"
GITEA__database__DB_TYPE: "mysql"
GITEA__database__HOST: "gitea_db_1:3306"
2022-04-20 20:32:07 +00:00
GITEA__database__NAME: "gitea"
GITEA__database__USER: "gitea"
GITEA__database__PASSWD: "moneyprintergobrrr"
2022-05-16 13:30:51 +00:00
2022-04-20 20:32:07 +00:00
db:
image: mariadb:11.2.4@sha256:e9ea1dbab6783ff0281e41e3357d950a5f598b2033559b8443e03b181807910b
2022-04-20 20:32:07 +00:00
user: "1000:1000"
restart: on-failure
volumes:
- ${APP_DATA_DIR}/data/db:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: "gitea"
MYSQL_USER: "gitea"
MYSQL_PASSWORD: "moneyprintergobrrr"
MYSQL_DATABASE: "gitea"