Skip to content

Commit

Permalink
Update docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zeratax committed Aug 2, 2021
1 parent b163708 commit 45126c7
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,9 @@ jobs:

- name: Run Synapse
run: |
docker network create -d overlay matrix
docker network connect matrix ${{ job.services.postgres.id }}
docker run -d \
--volume="$(pwd)/tests:/data" \
--network="matrix" \
--publish 8008:8008/tcp \
--network="${{ job.services.postgres.network }}" \
-e SYNAPSE_SERVER_NAME=localhost \
-e SYNAPSE_REPORT_STATS=no \
matrixdotorg/synapse:latest
Expand All @@ -91,13 +88,13 @@ jobs:
run: |
docker run --rm \
--volume="$(pwd)/tests:/data" \
--network="matrix" \
--network="${{ job.services.postgres.network }}" \
matrix-registration:$tag \
generate 1>token
docker run -d \
--volume="$(pwd)/tests:/data" \
--network="matrix" \
--network="${{ job.services.postgres.network }}" \
--publish 5000:5000/tcp \
matrix-registration:$tag \
serve
Expand Down

0 comments on commit 45126c7

Please sign in to comment.