Skip to content

Commit

Permalink
Fix docker compose.
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianStehle committed Aug 26, 2024
1 parent a10a0ee commit 8a3258e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
GOOGLE__KEYFILE: ${{ secrets.GOOGLE__KEYFILE }}

- name: Test - Start Compose
run: docker-compose up -d
run: docker compose up -d
working-directory: tools/TestSuite

- name: Test - RUN
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:

- name: Test - Cleanup
if: always()
run: docker-compose down
run: docker compose down
working-directory: tools/TestSuite

- name: Publish - Calculate Version
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
GOOGLE__KEYFILE: ${{ secrets.GOOGLE__KEYFILE }}

- name: Test - Start Compose
run: docker-compose up -d
run: docker compose up -d
working-directory: tools/TestSuite

- name: Test - RUN
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:

- name: Test - Cleanup
if: always()
run: docker-compose down
run: docker compose down
working-directory: tools/TestSuite

- name: Publish - Get Major Version
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Before you install it, try it out at https://app.notifo.io

### Install it using the docker image

docker images are available: https://hub.docker.com/r/squidex/notifo, you can try the [docker-compose](deployment/docker-compose/docker-compose.yml) file.
docker images are available: https://hub.docker.com/r/squidex/notifo, you can try the [docker compose](deployment/docker compose/docker compose.yml) file.

Read more about the installation in the [wiki](https://github.com/notifo-io/notifo/wiki/Installation).

Expand Down
4 changes: 2 additions & 2 deletions deployment/docker-compose/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Notifo needs https. This is a little bit tricky on localhost.

Caddy is used as a reverse proxy and also creates the certificates. Usually lets-encrypt is used for that, but for localhost we need to switch to a local certificate authority.

Therefore you have to comment out the following line in `docker-compose.yml`:
Therefore you have to comment out the following line in `docker compose.yml`:

```yml
# - SITE_SETTINGS="tls internal"
Expand All @@ -18,6 +18,6 @@ Therefore you have to comment out the following line in `docker-compose.yml`:

Caddy usually installs the root certificate, but this is not available on docker. Therefore we have to install the root certificate manually. First download the certificate from the docker container:

docker cp docker-compose-notifo_proxy-1:/data/caddy/pki/authorities/local/root.crt .
docker cp docker compose-notifo_proxy-1:/data/caddy/pki/authorities/local/root.crt .

Next install the certificate to the **trusted root authorities store**. You might need to restart chrome after that.

0 comments on commit 8a3258e

Please sign in to comment.