mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-25 11:43:07 +01:00
prettier formatted and simplified README links
This commit is contained in:
parent
578e9b728a
commit
782d52793e
20
.github/workflows/docker-publish-api.yml
vendored
20
.github/workflows/docker-publish-api.yml
vendored
@ -3,34 +3,29 @@ name: docker-publish-api
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- 'api/**'
|
- "api/**"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker-api:
|
docker-api:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
-
|
- name: Checkout
|
||||||
name: Checkout
|
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
-
|
- name: Set up Docker Buildx
|
||||||
name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
-
|
- name: Cache Docker layers
|
||||||
name: Cache Docker layers
|
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: /tmp/.buildx-cache/api
|
path: /tmp/.buildx-cache/api
|
||||||
key: ${{ runner.os }}-buildx-api-${{ github.sha }}
|
key: ${{ runner.os }}-buildx-api-${{ github.sha }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-buildx-api-
|
${{ runner.os }}-buildx-api-
|
||||||
-
|
- name: Login to DockerHub
|
||||||
name: Login to DockerHub
|
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
-
|
- name: Build and push
|
||||||
name: Build and push
|
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
context: ./api
|
context: ./api
|
||||||
@ -38,8 +33,7 @@ jobs:
|
|||||||
tags: ${{ secrets.DOCKERHUB_TAGS_API }}
|
tags: ${{ secrets.DOCKERHUB_TAGS_API }}
|
||||||
cache-from: type=local,src=/tmp/.buildx-cache/api
|
cache-from: type=local,src=/tmp/.buildx-cache/api
|
||||||
cache-to: type=local,dest=/tmp/.buildx-cache-new/api
|
cache-to: type=local,dest=/tmp/.buildx-cache-new/api
|
||||||
-
|
- # Hackfix to cleanup cache; replace after buildx 0.6 and BuildKit 0.9 are GA
|
||||||
# Hackfix to cleanup cache; replace after buildx 0.6 and BuildKit 0.9 are GA
|
|
||||||
# https://github.com/docker/build-push-action/pull/406#issuecomment-879184394
|
# https://github.com/docker/build-push-action/pull/406#issuecomment-879184394
|
||||||
name: Move cache fix
|
name: Move cache fix
|
||||||
run: |
|
run: |
|
||||||
|
20
.github/workflows/docker-publish-cdn.yml
vendored
20
.github/workflows/docker-publish-cdn.yml
vendored
@ -3,34 +3,29 @@ name: docker-publish-cdn
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- 'cdn/**'
|
- "cdn/**"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker-cdn:
|
docker-cdn:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
-
|
- name: Checkout
|
||||||
name: Checkout
|
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
-
|
- name: Set up Docker Buildx
|
||||||
name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
-
|
- name: Cache Docker layers
|
||||||
name: Cache Docker layers
|
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: /tmp/.buildx-cache/cdn
|
path: /tmp/.buildx-cache/cdn
|
||||||
key: ${{ runner.os }}-buildx-cdn-${{ github.sha }}
|
key: ${{ runner.os }}-buildx-cdn-${{ github.sha }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-buildx-cdn-
|
${{ runner.os }}-buildx-cdn-
|
||||||
-
|
- name: Login to DockerHub
|
||||||
name: Login to DockerHub
|
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
-
|
- name: Build and push
|
||||||
name: Build and push
|
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
context: ./cdn
|
context: ./cdn
|
||||||
@ -38,8 +33,7 @@ jobs:
|
|||||||
tags: ${{ secrets.DOCKERHUB_TAGS_CDN }}
|
tags: ${{ secrets.DOCKERHUB_TAGS_CDN }}
|
||||||
cache-from: type=local,src=/tmp/.buildx-cache/cdn
|
cache-from: type=local,src=/tmp/.buildx-cache/cdn
|
||||||
cache-to: type=local,dest=/tmp/.buildx-cache-new/cdn
|
cache-to: type=local,dest=/tmp/.buildx-cache-new/cdn
|
||||||
-
|
- # Hackfix to cleanup cache; replace after buildx 0.6 and BuildKit 0.9 are GA
|
||||||
# Hackfix to cleanup cache; replace after buildx 0.6 and BuildKit 0.9 are GA
|
|
||||||
# https://github.com/docker/build-push-action/pull/406#issuecomment-879184394
|
# https://github.com/docker/build-push-action/pull/406#issuecomment-879184394
|
||||||
name: Move cache fix
|
name: Move cache fix
|
||||||
run: |
|
run: |
|
||||||
|
20
.github/workflows/docker-publish-gateway.yml
vendored
20
.github/workflows/docker-publish-gateway.yml
vendored
@ -3,34 +3,29 @@ name: docker-publish-gw
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- 'gateway/**'
|
- "gateway/**"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker-gw:
|
docker-gw:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
-
|
- name: Checkout
|
||||||
name: Checkout
|
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
-
|
- name: Set up Docker Buildx
|
||||||
name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
-
|
- name: Cache Docker layers
|
||||||
name: Cache Docker layers
|
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: /tmp/.buildx-cache/gw
|
path: /tmp/.buildx-cache/gw
|
||||||
key: ${{ runner.os }}-buildx-gw-${{ github.sha }}
|
key: ${{ runner.os }}-buildx-gw-${{ github.sha }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-buildx-gw-
|
${{ runner.os }}-buildx-gw-
|
||||||
-
|
- name: Login to DockerHub
|
||||||
name: Login to DockerHub
|
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
-
|
- name: Build and push
|
||||||
name: Build and push
|
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
context: ./gateway
|
context: ./gateway
|
||||||
@ -38,8 +33,7 @@ jobs:
|
|||||||
tags: ${{ secrets.DOCKERHUB_TAGS_GW }}
|
tags: ${{ secrets.DOCKERHUB_TAGS_GW }}
|
||||||
cache-from: type=local,src=/tmp/.buildx-cache/gw
|
cache-from: type=local,src=/tmp/.buildx-cache/gw
|
||||||
cache-to: type=local,dest=/tmp/.buildx-cache-new/gw
|
cache-to: type=local,dest=/tmp/.buildx-cache-new/gw
|
||||||
-
|
- # Hackfix to cleanup cache; replace after buildx 0.6 and BuildKit 0.9 are GA
|
||||||
# Hackfix to cleanup cache; replace after buildx 0.6 and BuildKit 0.9 are GA
|
|
||||||
# https://github.com/docker/build-push-action/pull/406#issuecomment-879184394
|
# https://github.com/docker/build-push-action/pull/406#issuecomment-879184394
|
||||||
name: Move cache fix
|
name: Move cache fix
|
||||||
run: |
|
run: |
|
||||||
|
4
.prettierrc
Normal file
4
.prettierrc
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"tabWidth": 4,
|
||||||
|
"useTabs": true
|
||||||
|
}
|
14
README.md
14
README.md
@ -18,13 +18,13 @@
|
|||||||
|
|
||||||
This repository contains:
|
This repository contains:
|
||||||
|
|
||||||
- [Fosscord HTTP API Server](https://github.com/fosscord/fosscord-server/tree/master/api)
|
- [Fosscord HTTP API Server](/api)
|
||||||
- [WebSocket Gateway Server](https://github.com/fosscord/fosscord-server/tree/master/gateway)
|
- [WebSocket Gateway Server](/gateway)
|
||||||
- [HTTP CDN Server](https://github.com/fosscord/fosscord-server/tree/master/cdn)
|
- [HTTP CDN Server](/cdn)
|
||||||
- [Utility and Database Models](https://github.com/fosscord/fosscord-server/tree/master/util)
|
- [Utility and Database Models](/util)
|
||||||
- [RTC Server](https://github.com/fosscord/fosscord-server/tree/master/rtc)
|
- [RTC Server](/rtc)
|
||||||
- [WebRTC Server](https://github.com/fosscord/fosscord-server/tree/master/webrtc)
|
- [WebRTC Server](/webrtc)
|
||||||
- [Admin Dashboard](https://github.com/fosscord/fosscord-server/tree/master/dashboard)
|
- [Admin Dashboard](/dashboard)
|
||||||
|
|
||||||
## [Resources](https://docs.fosscord.com/resources/)
|
## [Resources](https://docs.fosscord.com/resources/)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user