feat: gitea working but not setup
This commit is contained in:
parent
8161adbe6b
commit
f11d969239
|
|
@ -77,3 +77,8 @@ sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin dock
|
|||
ssh-copy-id -p 2222 bapasqui@localhost
|
||||
|
||||
```
|
||||
|
||||
|
||||
### Ressources
|
||||
|
||||
https://zenn.dev/zenogawa/articles/gitea_keycloak?locale=en
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
http://keycloak.ft-chatons.local {
|
||||
reverse_proxy gitea:8080
|
||||
http://vogsphere.ft-chatons.local {
|
||||
reverse_proxy gitea:3000
|
||||
}
|
||||
42
core/git/compose.yml
Normal file
42
core/git/compose.yml
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
services:
|
||||
gitea:
|
||||
image: gitea/gitea
|
||||
container_name: gitea
|
||||
environment:
|
||||
USER_UID: 1000
|
||||
USER_GID: 1000
|
||||
GITEA__database__DB_TYPE: postgres
|
||||
GITEA__database__HOST: gitea-postgres:5432
|
||||
GITEA__database__NAME: gitea
|
||||
GITEA__database__USER: gitea
|
||||
GITEA__database__PASSWD: gitea
|
||||
networks:
|
||||
- proxy
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3000"
|
||||
- "222:22"
|
||||
volumes:
|
||||
- gitea-data:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
|
||||
|
||||
postgres:
|
||||
image: library/postgres
|
||||
container_name: gitea-postgres
|
||||
restart: always
|
||||
networks:
|
||||
- proxy
|
||||
environment:
|
||||
- POSTGRES_USER=gitea
|
||||
- POSTGRES_PASSWORD=gitea
|
||||
- POSTGRES_DB=gitea
|
||||
|
||||
volumes:
|
||||
gitea-data:
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
name: proxy
|
||||
external: true
|
||||
|
|
@ -13,6 +13,8 @@ services:
|
|||
KC_DB_PASSWORD: password
|
||||
KC_BOOTSTRAP_ADMIN_USERNAME: admin
|
||||
KC_BOOTSTRAP_ADMIN_PASSWORD: admin
|
||||
KC_HOSTNAME_PORT: 8081
|
||||
KC_PROXY: edge
|
||||
command:
|
||||
- start-dev
|
||||
restart: unless-stopped
|
||||
|
|
|
|||
Loading…
Reference in a new issue