Compare commits
5 Commits
2.0.0+1.18
...
2.0.1+1.18
Author | SHA1 | Date | |
---|---|---|---|
9413c79e8f | |||
7d7761dec6 | |||
936fb940cb | |||
e2cd36873c | |||
89400089ec |
@ -6,6 +6,9 @@ COMPOSE_FILE="compose.yml"
|
|||||||
COMPOSE_FILE="$COMPOSE_FILE:compose.mariadb.yml"
|
COMPOSE_FILE="$COMPOSE_FILE:compose.mariadb.yml"
|
||||||
# COMPOSE_FILE="$COMPOSE_FILE:compose.postgres.yml"
|
# COMPOSE_FILE="$COMPOSE_FILE:compose.postgres.yml"
|
||||||
|
|
||||||
|
# Enable to use forgejo instead of gitea
|
||||||
|
# COMPOSE_FILE="$COMPOSE_FILE:compose.forgejo.yml"
|
||||||
|
|
||||||
GITEA_DOMAIN=git.example.com
|
GITEA_DOMAIN=git.example.com
|
||||||
GITEA_ALLOW_ONLY_EXTERNAL_REGISTRATION=true
|
GITEA_ALLOW_ONLY_EXTERNAL_REGISTRATION=true
|
||||||
GITEA_APP_NAME="Git with solidaritea"
|
GITEA_APP_NAME="Git with solidaritea"
|
||||||
|
@ -19,9 +19,9 @@
|
|||||||
2. Deploy [`coop-cloud/traefik`][cc-traefik]
|
2. Deploy [`coop-cloud/traefik`][cc-traefik]
|
||||||
3. `abra app new gitea --secrets` (optionally with `--pass` if you'd like
|
3. `abra app new gitea --secrets` (optionally with `--pass` if you'd like
|
||||||
to save secrets in `pass`)
|
to save secrets in `pass`)
|
||||||
4. `abra app YOURAPPDOMAIN config` - be sure to change `$DOMAIN` to something that resolves to
|
4. `abra app config YOURAPPDOMAIN` - be sure to change `$DOMAIN` to something that resolves to
|
||||||
your Docker swarm box
|
your Docker swarm box
|
||||||
5. `abra app YOURAPPDOMAIN deploy`
|
5. `abra app deploy YOURAPPDOMAIN`
|
||||||
|
|
||||||
## Create first user
|
## Create first user
|
||||||
|
|
||||||
|
5
compose.forgejo.yml
Normal file
5
compose.forgejo.yml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
version: '3.8'
|
||||||
|
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: codeberg.org/forgejo/forgejo:1.18.2-0-rootless
|
@ -3,7 +3,7 @@ version: "3.8"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: "gitea/gitea:1.18.0-rootless"
|
image: "gitea/gitea:1.18.2-rootless"
|
||||||
configs:
|
configs:
|
||||||
- source: app_ini
|
- source: app_ini
|
||||||
target: /etc/gitea/app.ini
|
target: /etc/gitea/app.ini
|
||||||
@ -61,7 +61,7 @@ services:
|
|||||||
- "traefik.http.middlewares.${STACK_NAME}_cors.headers.accesscontrolalloworiginlist=https://${GITEA_CORS_ALLOW_DOMAIN}"
|
- "traefik.http.middlewares.${STACK_NAME}_cors.headers.accesscontrolalloworiginlist=https://${GITEA_CORS_ALLOW_DOMAIN}"
|
||||||
- "traefik.http.middlewares.${STACK_NAME}_cors.headers.accesscontrolmaxage=100"
|
- "traefik.http.middlewares.${STACK_NAME}_cors.headers.accesscontrolmaxage=100"
|
||||||
- "traefik.http.middlewares.${STACK_NAME}_cors.headers.addvaryheader=true"
|
- "traefik.http.middlewares.${STACK_NAME}_cors.headers.addvaryheader=true"
|
||||||
- coop-cloud.${STACK_NAME}.version=2.0.0+1.18.0-rootless
|
- coop-cloud.${STACK_NAME}.version=2.0.1+1.18.2-rootless
|
||||||
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
|
Reference in New Issue
Block a user