From 73576605cd1c9326f3347406ce0c0ceac9c73ccb Mon Sep 17 00:00:00 2001 From: André Oliveira <37463445+SpecialAro@users.noreply.github.com> Date: Tue, 3 May 2022 19:58:53 +0100 Subject: Update docker image to the latest on the DockerHub (#22) --- README.md | 4 ++-- docker/README.md | 8 ++++---- docker/docker-compose.yml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 0031e5f..1a9a6d4 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ After setting up the docker container we recommend you set up an NGINX reverse p 1. Pull the Docker image ```sh - docker pull ghcr.io/ferdium/ferdium-server + docker pull ferdium/ferdium-server:latest ``` 2. Create a *new* Docker container with your desired configuration **Existing users please seee the warning above.** @@ -78,7 +78,7 @@ After setting up the docker container we recommend you set up an NGINX reverse p -v :/data \ -v :/app/recipes \ --restart unless-stopped \ - ghcr.io/ferdium/ferdium-server + ferdium/ferdium-server:latest ``` Alternatively, you can also use docker-compose v2 schema. An example can be found [in the docker folder](./docker/docker-compose.yml). diff --git a/docker/README.md b/docker/README.md index 2db02cb..0051ac5 100644 --- a/docker/README.md +++ b/docker/README.md @@ -28,7 +28,7 @@ The docker can be run as is, with the default sqlite database, or you can modify Pull the docker image: - docker pull ghcr.io/ferdium/ferdium-server + docker pull ferdium/ferdium-server:latest To create the docker container with the proper parameters: @@ -59,7 +59,7 @@ To create the docker container with the proper parameters: -v :/data \ -v :/app/recipes \ --restart unless-stopped \ - ghcr.io/ferdium/ferdium-server + ferdium/ferdium-server:latest ### docker-compose @@ -212,7 +212,7 @@ Below are the instructions for updating the container to get the most recent ver ### Via Docker Run/Create -* Update the image: `docker pull ghcr.io/ferdium/ferdium-server` +* Update the image: `docker pull ferdium/ferdium-server:latest` * Stop the running container: `docker stop ferdium-server` * Delete the container: `docker rm ferdium-server` * Recreate a new container with the same docker create parameters as instructed above (if mapped correctly to a host folder, your `/config` folder and ENV settings will be preserved) @@ -232,7 +232,7 @@ If you want to build this image locally, please run this command from root of [F docker build \ --no-cache \ --pull \ - -t ghcr.io/ferdium/ferdium-server:latest . + -t ferdium/ferdium-server:latest . ``` ## License diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 757717a..d2985d3 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -1,7 +1,7 @@ version: "2" services: ferdium-server: - image: ghcr.io/ferdium/ferdium-server + image: ferdium/ferdium-server:latest container_name: ferdium-server environment: - NODE_ENV=development -- cgit v1.2.3-54-g00ecf