appstore-1panel/apps/gitea/1.21.10/docker-compose.yml
renovate[bot] 3e7937e1a3
chore(deps): update gitea.cn/gitea/gitea docker tag to v1.21.10 (#1177)
* chore(deps): update gitea.cn/gitea/gitea docker tag to v1.21.10

* Update app version [skip ci]

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
2024-04-02 15:15:05 +08:00

28 lines
774 B
YAML

version: '3'
services:
gitea:
image: gitea.cn/gitea/gitea:1.21.10
container_name: ${CONTAINER_NAME}
environment:
- USER_UID=1000
- USER_GID=1000
- GITEA__database__DB_TYPE=${PANEL_DB_TYPE}
- GITEA__database__HOST=${PANEL_DB_HOST}:${PANEL_DB_PORT}
- GITEA__database__NAME=${PANEL_DB_NAME}
- GITEA__database__USER=${PANEL_DB_USER}
- GITEA__database__PASSWD=${PANEL_DB_USER_PASSWORD}
restart: always
networks:
- 1panel-network
volumes:
- ./data:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "${PANEL_APP_PORT_HTTP}:3000"
- "${PANEL_APP_PORT_SSH}:22"
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true