Skip to content

Commit 74bfbdb

Browse files
committed
added services
1 parent 2fcb664 commit 74bfbdb

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

.github/workflows/build.yml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,34 @@ jobs:
1616
deployAndLoadTest:
1717
runs-on: ubuntu-latest
1818
needs: build
19+
services:
20+
etherpad1:
21+
image: etherpad/etherpad:develop
22+
ports:
23+
- "9001:9001"
24+
volumes:
25+
- "./support/settings.json:/opt/etherpad-lite/settings.json"
26+
- "./test1:/opt/etherpad-lite/var"
27+
etherpad2:
28+
image: etherpad/etherpad:develop
29+
ports:
30+
- "9002:9001"
31+
volumes:
32+
- "./support/settings.json:/opt/etherpad-lite/settings.json"
33+
- "./test2:/opt/etherpad-lite/var"
34+
etherpad3:
35+
image: etherpad/etherpad:develop
36+
ports:
37+
- "9003:9001"
38+
volumes:
39+
- "./support/settings.json:/opt/etherpad-lite/settings.json"
40+
- "./test3:/opt/etherpad-lite/var"
1941
steps:
2042
- name: Checkout repository
2143
uses: actions/checkout@v4
2244
- uses: actions/download-artifact@v4
2345
with:
2446
name: 'etherpad-proxy'
25-
- name: Setup etherpads
26-
run: docker compose up -d
2747
- name: support 1 pad per instances
2848
run: sed 's/5/1/g' settings.json.template > settings.json
2949
- name: check settings

0 commit comments

Comments
 (0)