diff --git a/bin/danbooru b/bin/danbooru index 3cf93d234..da30426db 100755 --- a/bin/danbooru +++ b/bin/danbooru @@ -11,7 +11,7 @@ # # Alternatively, if you already have Docker installed, you can just do: # -# docker-compose -f config/docker/docker-compose.simple.yaml up +# docker-compose up # # This script is just a wrapper for that command. @@ -51,11 +51,6 @@ start_docker() { fi } -docker_compose() { - COMPOSE_FILE="$(dirname "$(realpath "$0")")/../config/docker/docker-compose.simple.yaml" - sudo docker-compose -f "$COMPOSE_FILE" "$@" -} - install_docker_compose start_docker -docker_compose "${@:-up}" +sudo docker-compose "${@:-up}" diff --git a/config/docker/docker-compose.simple.yaml b/docker-compose.yaml similarity index 91% rename from config/docker/docker-compose.simple.yaml rename to docker-compose.yaml index 5bc6386f7..15c15d94a 100644 --- a/config/docker/docker-compose.simple.yaml +++ b/docker-compose.yaml @@ -1,10 +1,12 @@ # A Docker Compose file that launches a minimal Danbooru instance. This is # suitable as a quick demo or for personal use, not for public-facing sites. # +# This will start a Danbooru instance running on http://localhost. +# # Usage: # -# $ docker-compose -f config/docker/docker-compose.simple.yaml up -# $ docker-compose -f config/docker/docker-compose.simple.yaml down +# docker-compose up +# docker-compose down # # References: #