Some minor changes
All checks were successful
Build Container / build (push) Successful in 1m20s

This commit is contained in:
magmaus3 2023-05-18 08:36:46 +02:00
parent b92032c24f
commit 1f6645f24e
Signed by: magmaus3
GPG key ID: 966755D3F4A9B251
2 changed files with 19 additions and 26 deletions

View file

@ -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) For more details, check [the project wiki](https://github.com/Cvolton/GMDprivateServer/wiki)
---
building the image:
```
docker buildx build . -t <image tag>
```
<!----> <!---->
<!-- running (remove the `-it` params to run in background): --> <!-- running (remove the `-it` params to run in background): -->
<!-- ``` --> <!-- ``` -->

View file

@ -1,26 +1,25 @@
services: 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: {"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: server:
build: '.' # You can also use a prebuilt image,
environment: # available at
DB_SERVER_NAME: "db" # https://codeberg.org/magmaus3/cvoltongdps-docker/packages
DB_PORT: 3306 build: '.'
DB_USERNAME: "gdps" environment:
DB_PASSWORD: "YouShouldChangeThisPasswordAsWell" DB_SERVER_NAME: "db"
DB_DATABASE_NAME: "geometrydash" DB_PORT: 3306
volumes: DB_USERNAME: "gdps"
# Used for storing levels and saves DB_PASSWORD: "YouShouldChangeThisPasswordAsWell"
- ./data:/gdps/data DB_DATABASE_NAME: "geometrydash"
ports: volumes:
- 8080:80 # Used for storing levels and saves
depends_on: - ./data:/gdps/data
- service-info ports:
- db - 8080:80
depends_on:
- service-info
- db
db: db:
image: mariadb image: mariadb