mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-15 22:41:19 +00:00
94b882fb95
Part of #738 ``` pnpx cspell lint --gitignore '{**,.*}/{*,.*}' ``` --------- Co-authored-by: Anbraten <anton@ju60.de> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: 6543 <6543@obermui.de>
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
# cSpell:ignore pgdata pgsql localtime
|
|
version: '3'
|
|
|
|
services:
|
|
gitea-database:
|
|
image: postgres:16.1-alpine
|
|
environment:
|
|
POSTGRES_USER: gitea
|
|
POSTGRES_PASSWORD: 123456
|
|
POSTGRES_DB: gitea
|
|
PGDATA: /var/lib/postgresql/data/pgdata
|
|
volumes:
|
|
- pgsql:/var/lib/postgresql/data/pgdata
|
|
|
|
gitea:
|
|
image: gitea/gitea:1.21
|
|
ports:
|
|
- 3000:3000
|
|
volumes:
|
|
- gitea:/data
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
depends_on:
|
|
- gitea-database
|
|
environment:
|
|
USER_UID: 1000
|
|
USER_GID: 1000
|
|
# GITEA__server__DOMAIN: gitea.local.self
|
|
GITEA__server__ROOT_URL: https://3000-${GITPOD_WORKSPACE_ID}.${GITPOD_WORKSPACE_CLUSTER_HOST}
|
|
GITEA__database__DB_TYPE: postgres
|
|
GITEA__database__HOST: gitea-database:5432
|
|
GITEA__database__NAME: gitea
|
|
GITEA__database__USER: gitea
|
|
GITEA__database__PASSWD: 123456
|
|
GITEA__webhook__ALLOWED_HOST_LIST: '*'
|
|
GITEA__security__INSTALL_LOCK: 'true'
|
|
GITEA__security__INTERNAL_TOKEN: '123456'
|
|
extra_hosts:
|
|
- 'host.docker.internal:host-gateway'
|
|
|
|
volumes:
|
|
gitea:
|
|
pgsql:
|