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

Commit 2f44528

Browse files
committed
examples: tutorials: rolling alice: federated forge: alice and bob: bob: Init forge on startup
Related: go-gitea/gitea#18240 Signed-off-by: John Andersen <johnandersenpdx@gmail.com>
1 parent c8ddb58 commit 2f44528

File tree

3 files changed

+44
-0
lines changed

3 files changed

+44
-0
lines changed

examples/tutorials/rolling_alice/federated_forge/alice_and_bob/docker-compose.yml

+16
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,22 @@ services:
5757
- "3000:3000"
5858
- "3022:2022"
5959

60+
bob-forgejo-init-1:
61+
image: ghcr.io/pdxjohnny/healthcheck:activitypub
62+
stdin_open: true
63+
tty: true
64+
environment:
65+
FORGEJO_SERVICE_ROOT: http://bob_forgejo_server:3000
66+
command:
67+
- /bin/bash
68+
- -x
69+
- /usr/src/forgejo-init/scripts/forgejo-first-time-init.sh
70+
networks:
71+
- bob_forgejo_network
72+
volumes:
73+
- ./requests/bob:/usr/src/forgejo-init/requests:ro
74+
- ./requests/scripts:/usr/src/forgejo-init/scripts:ro
75+
6076
alice_forgejo_scitt:
6177
# image: ghcr.io/scitt-community/scitt-api-emulator:main
6278
image: ghcr.io/pdxjohnny/scitt-api-emulator:ci_cd_container_image
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
app_name: 'Forgejo: Beyond coding. We forge.'
2+
app_url: http://127.0.0.1:2000/
3+
charset: utf8
4+
db_host: localhost:3306
5+
db_name: gitea
6+
db_path: /var/lib/gitea/data/gitea.db
7+
db_type: sqlite3
8+
db_user: root
9+
default_allow_create_organization: 'on'
10+
default_enable_timetracking: 'on'
11+
domain: 127.0.0.1
12+
enable_federated_avatar: 'on'
13+
enable_open_id_sign_in: 'on'
14+
enable_open_id_sign_up: 'on'
15+
http_port: '3000'
16+
lfs_root_path: /var/lib/gitea/git/lfs
17+
log_root_path: /var/lib/gitea/data/log
18+
no_reply_address: noreply.localhost
19+
password_algorithm: pbkdf2_hi
20+
repo_root_path: /var/lib/gitea/git/repositories
21+
run_user: git
22+
ssh_port: '2022'
23+
ssl_mode: disable
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
_csrf: CSRF_TOKEN
2+
email: bob@chadig.com
3+
password: maryisgod
4+
retype: maryisgod
5+
user_name: bob

0 commit comments

Comments
 (0)