You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.4 KiB
43 lines
1.4 KiB
version: "3.7"
|
|
|
|
services:
|
|
app_proxy:
|
|
environment:
|
|
APP_HOST: gitea_server_1
|
|
APP_PORT: 8085
|
|
PROXY_AUTH_ADD: "false"
|
|
|
|
server:
|
|
image: gitea/gitea:1.19.1-rootless@sha256:7416cf7299ff49705dfc0235d1961048bf1f7ae9efbf061f70a93f10c8854dc0
|
|
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
|
|
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"
|
|
GITEA__database__NAME: "gitea"
|
|
GITEA__database__USER: "gitea"
|
|
GITEA__database__PASSWD: "moneyprintergobrrr"
|
|
|
|
db:
|
|
image: mariadb:10.11.2@sha256:dd0f492b6b6e7bb4aa707181b799d4efe42cb3a9f6012ec3dbaf326d402151e8
|
|
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"
|
|
|