mirror of
https://github.com/TeamPiped/sponsorblock-mirror.git
synced 2024-08-14 23:57:05 +00:00
Add version to compose file instead of talking about it
This commit is contained in:
parent
d4a240f749
commit
4ff19bef05
2 changed files with 1 additions and 8 deletions
|
@ -47,14 +47,6 @@ docker buildx build --load -t 1337kavin/sponsorblock-mirror .
|
||||||
|
|
||||||
* If Docker complains that `the --mount option requires BuildKit`, make sure you are building with `docker buildx build` and not `docker build`.
|
* If Docker complains that `the --mount option requires BuildKit`, make sure you are building with `docker buildx build` and not `docker build`.
|
||||||
|
|
||||||
* If `docker compose` complains like this:
|
|
||||||
```
|
|
||||||
ERROR: The Compose file './docker-compose.yml' is invalid because:
|
|
||||||
Unsupported config option for volumes: 'postgres_data'
|
|
||||||
Unsupported config option for services: 'sb-mirror'
|
|
||||||
```
|
|
||||||
then you are using an old version of `docker compose` which does not fully support the Compose Specification and [requires a 'version' key to differentiate the file from a V1 compose file](https://docs.docker.com/compose/compose-file/#version-top-level-element). Try appending `version: "3"` to the file.
|
|
||||||
|
|
||||||
* To access the PosgresQL database directly, you can `docker exec -ti postgres-sb-mirror bash -c 'psql $POSTGRES_DB $POSTGRES_USER'`.
|
* To access the PosgresQL database directly, you can `docker exec -ti postgres-sb-mirror bash -c 'psql $POSTGRES_DB $POSTGRES_USER'`.
|
||||||
|
|
||||||
* Requests for videos not in the database are forwarded to `https://sponsor.ajay.app/`, which may be down or malfunctioning. A response of the string `Internal Server Error` is likely to be from there, rather than from this application.
|
* Requests for videos not in the database are forwarded to `https://sponsor.ajay.app/`, which may be down or malfunctioning. A response of the string `Internal Server Error` is likely to be from there, rather than from this application.
|
||||||
|
|
|
@ -39,3 +39,4 @@ services:
|
||||||
- sb-mirror
|
- sb-mirror
|
||||||
volumes:
|
volumes:
|
||||||
postgres_data: null
|
postgres_data: null
|
||||||
|
version: "3"
|
||||||
|
|
Loading…
Reference in a new issue