This commit is contained in:
parent
5e974cb8de
commit
c915b4de33
@ -20,6 +20,18 @@ jobs:
|
||||
# ports:
|
||||
# - 80:80
|
||||
# - 25:25
|
||||
|
||||
tibi-server:
|
||||
image: gitbase.de/cms/tibi-server
|
||||
ports:
|
||||
- 8080:8080
|
||||
env:
|
||||
DB_DIAL: mongodb://mongo
|
||||
API_PORT: 8080
|
||||
MAIL_HOST: maildev:25
|
||||
SECURITY_ALLOWABSOLUTEPATHS: "true"
|
||||
SECURITY_ALLOWUPPERPATHS: "true"
|
||||
SECURITY_ALLOWRELATIVEPATHS: "true"
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
@ -38,33 +50,6 @@ jobs:
|
||||
npm install -g yarn
|
||||
yarn install
|
||||
|
||||
- name: Clone Live Server Repository
|
||||
run: |
|
||||
git clone https://gitbase.de/robin/live-server ./live-server
|
||||
|
||||
- name: Build Live Server Docker Image
|
||||
run: |
|
||||
docker build -t liveserver-image -f ./live-server .
|
||||
|
||||
- name: Start Live Server
|
||||
run: |
|
||||
docker run -d -p 80:80 liveserver-image
|
||||
|
||||
- name: Clone tibi server Repository
|
||||
run: |
|
||||
git clone https://gitbase.de/cms/tibi-server ./tibi-server
|
||||
|
||||
- name: Build Tibi Server Docker Image
|
||||
run: |
|
||||
docker build -t tibiserver-image -f ./tibi-server .
|
||||
|
||||
- name: Start Tibi Server
|
||||
run: |
|
||||
docker run -d -p 8080:8080 \
|
||||
-e API_PORT=8080 \
|
||||
-e DB_DIAL=mongodb://mongo \
|
||||
-e MAIL_HOST=maildev:25 \
|
||||
tibiserver-image
|
||||
- name: modify config
|
||||
run: |
|
||||
sed -i 's#\(sentryEnvironment.*\)".*"#\1"${GITHUB_REF_NAME}"#g' frontend/src/config.ts
|
||||
|
Loading…
Reference in New Issue
Block a user