diff --git a/README.md b/README.md index c3fe734..230768a 100644 --- a/README.md +++ b/README.md @@ -16,12 +16,6 @@ You'll also need to import the database from [the source code repository](https: For more details, check [the project wiki](https://github.com/Cvolton/GMDprivateServer/wiki) ---- - -building the image: -``` -docker buildx build . -t -``` diff --git a/docker-compose.yml b/docker-compose.yml index 23a0c4e..cffa3d3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,26 +1,25 @@ services: service-info: {"image":"busybox:1.36.0", "entrypoint": ["echo", "-e", '\n\n ___ __ __ ____ ___ ____ _____ _ _ _ _____ \n|_ _| \\/ | _ \\ / _ \\| _ \\_ _|/ \\ | \\ | |_ _|\n | || |\\/| | |_) | | | | |_) || | / _ \\ | \\| | | | \n | || | | | __/| |_| | _ < | |/ ___ \\| |\\ | | | \n|___|_| |_|_| \\___/|_| \\_\\|_/_/ \\_\\_| \\_| |_| \n\n IMPORTANT: You will need to import the database dump from https://raw.githubusercontent.com/Cvolton/GMDprivateServer/master/database.sql for the server to work!\n\nProject wiki: https://github.com/Cvolton/GMDprivateServer/wiki\n']} - # service-info: - # # Reminder about setting up your database, you can safely remove this - # image: busybox:1.36.0 - # entrypoint: ["echo", "-e", "\n\n ___ __ __ ____ ___ ____ _____ _ _ _ _____ \n|_ _| \\/ | _ \\ / _ \\| _ \\_ _|/ \\ | \\ | |_ _|\n | || |\\/| | |_) | | | | |_) || | / _ \\ | \\| | | | \n | || | | | __/| |_| | _ < | |/ ___ \\| |\\ | | | \n|___|_| |_|_| \\___/|_| \\_\\|_/_/ \\_\\_| \\_| |_| \n\n IMPORTANT: You will need to import the database dump from https://raw.githubusercontent.com/Cvolton/GMDprivateServer/master/database.sql for the server to work!\n\n"] - server: - build: '.' - environment: - DB_SERVER_NAME: "db" - DB_PORT: 3306 - DB_USERNAME: "gdps" - DB_PASSWORD: "YouShouldChangeThisPasswordAsWell" - DB_DATABASE_NAME: "geometrydash" - volumes: - # Used for storing levels and saves - - ./data:/gdps/data - ports: - - 8080:80 - depends_on: - - service-info - - db +server: + # You can also use a prebuilt image, + # available at + # https://codeberg.org/magmaus3/cvoltongdps-docker/packages + build: '.' + environment: + DB_SERVER_NAME: "db" + DB_PORT: 3306 + DB_USERNAME: "gdps" + DB_PASSWORD: "YouShouldChangeThisPasswordAsWell" + DB_DATABASE_NAME: "geometrydash" + volumes: + # Used for storing levels and saves + - ./data:/gdps/data + ports: + - 8080:80 + depends_on: + - service-info + - db db: image: mariadb