mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-29 21:31:02 +00:00
5557674835
Adding [Gitpod](https://github.com/gitpod-io/gitpod) allows us and others to easily start a complete Woodpecker setup and development cloud IDE. It starts a Woodpecker server, agent and a preconfigured Gitea instance. You can login at Gitea with `woodpecker` and `password`.
41 lines
1 KiB
YAML
41 lines
1 KiB
YAML
version: '3'
|
|
|
|
services:
|
|
gitea-database:
|
|
image: postgres:12.6-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:dev
|
|
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: http://gitea:3000
|
|
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"
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
|
|
volumes:
|
|
gitea:
|
|
pgsql:
|