Skip to content
This repository was archived by the owner on Aug 25, 2024. It is now read-only.

Commit

Permalink
examples: tutorials: rolling alice: federated forge: alice and bob: b…
Browse files Browse the repository at this point in the history
…ob: Init forge on startup

Related: go-gitea/gitea#18240
Signed-off-by: John Andersen <[email protected]>
  • Loading branch information
pdxjohnny committed Mar 30, 2023
1 parent c8ddb58 commit 2f44528
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,22 @@ services:
- "3000:3000"
- "3022:2022"

bob-forgejo-init-1:
image: ghcr.io/pdxjohnny/healthcheck:activitypub
stdin_open: true
tty: true
environment:
FORGEJO_SERVICE_ROOT: http://bob_forgejo_server:3000
command:
- /bin/bash
- -x
- /usr/src/forgejo-init/scripts/forgejo-first-time-init.sh
networks:
- bob_forgejo_network
volumes:
- ./requests/bob:/usr/src/forgejo-init/requests:ro
- ./requests/scripts:/usr/src/forgejo-init/scripts:ro

alice_forgejo_scitt:
# image: ghcr.io/scitt-community/scitt-api-emulator:main
image: ghcr.io/pdxjohnny/scitt-api-emulator:ci_cd_container_image
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
app_name: 'Forgejo: Beyond coding. We forge.'
app_url: http://127.0.0.1:2000/
charset: utf8
db_host: localhost:3306
db_name: gitea
db_path: /var/lib/gitea/data/gitea.db
db_type: sqlite3
db_user: root
default_allow_create_organization: 'on'
default_enable_timetracking: 'on'
domain: 127.0.0.1
enable_federated_avatar: 'on'
enable_open_id_sign_in: 'on'
enable_open_id_sign_up: 'on'
http_port: '3000'
lfs_root_path: /var/lib/gitea/git/lfs
log_root_path: /var/lib/gitea/data/log
no_reply_address: noreply.localhost
password_algorithm: pbkdf2_hi
repo_root_path: /var/lib/gitea/git/repositories
run_user: git
ssh_port: '2022'
ssl_mode: disable
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
_csrf: CSRF_TOKEN
email: [email protected]
password: maryisgod
retype: maryisgod
user_name: bob

0 comments on commit 2f44528

Please sign in to comment.