2023-05-16 11:28:42 +00:00
|
|
|
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']}
|
|
|
|
|
2023-05-18 06:36:46 +00:00
|
|
|
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
|
2023-05-16 11:28:42 +00:00
|
|
|
|
|
|
|
db:
|
|
|
|
image: mariadb
|
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
|
|
MARIADB_ROOT_PASSWORD: "YouShouldChangeThatUwU"
|
|
|
|
MARIADB_USER: "gdps"
|
|
|
|
MARIADB_PASSWORD: "YouShouldChangeThisPasswordAsWell"
|
|
|
|
MARIADB_DATABASE: "geometrydash"
|
|
|
|
depends_on:
|
|
|
|
- service-info
|
|
|
|
|
|
|
|
adminer:
|
|
|
|
image: adminer
|
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
|
|
- 9080:8080
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- db
|