docker: rename docker-compose file.
Move the docker-compose file up to the root directory so you can just do `docker-compose up` to bring up Danbooru.
This commit is contained in:
@@ -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}"
|
||||
|
||||
@@ -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:
|
||||
#
|
||||
Reference in New Issue
Block a user