2022-04-20 20:32:07 +00:00
|
|
|
version: "3.7"
|
|
|
|
|
|
|
|
services:
|
2022-05-16 13:30:51 +00:00
|
|
|
app_proxy:
|
|
|
|
environment:
|
2022-12-04 20:18:22 +00:00
|
|
|
APP_HOST: gitea_server_1
|
|
|
|
APP_PORT: 8085
|
2022-06-07 07:04:33 +00:00
|
|
|
PROXY_AUTH_ADD: "false"
|
2022-05-16 13:30:51 +00:00
|
|
|
|
2022-04-20 20:32:07 +00:00
|
|
|
server:
|
2023-02-27 21:58:49 +00:00
|
|
|
image: gitea/gitea:1.18.5-rootless@sha256:40d4a630fd90cb41bea245034a1a86e3ba7220e8f6d7e5e0d0a50583df2e1a16
|
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}"
|
2022-12-04 20:18:22 +00:00
|
|
|
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"
|
2022-12-04 20:18:22 +00:00
|
|
|
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:
|
2023-02-27 21:58:49 +00:00
|
|
|
image: mariadb:10.11.2@sha256:dd0f492b6b6e7bb4aa707181b799d4efe42cb3a9f6012ec3dbaf326d402151e8
|
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"
|