stable somewhat
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
services:
|
||||
serverpackcreatordb:
|
||||
image: docker.io/mongodb/mongodb-community-server:8.0.5-ubuntu2204
|
||||
container_name: serverpackcreatordb
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
MONGO_INITDB_ROOT_USERNAME: test
|
||||
MONGO_INITDB_ROOT_PASSWORD: test
|
||||
MONGO_INITDB_DATABASE: serverpackcreatordb
|
||||
volumes:
|
||||
- ./init-mongo.js:/docker-entrypoint-initdb.d/init.js:ro
|
||||
- spcdb-data:/data/db
|
||||
- spcdb-conf:/data/configdb
|
||||
|
||||
serverpackcreator:
|
||||
container_name: serverpackcreator
|
||||
image: docker.io/griefed/serverpackcreator:8.0.6 # For a list of available tags, see https://hub.docker.com/r/griefed/serverpackcreator/tags
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- serverpackcreatordb
|
||||
environment:
|
||||
- TZ=Europe/Berlin # Your timezone
|
||||
- PUID=1000 # Your user ID
|
||||
- PGID=1000 # Your group ID
|
||||
- SPC_DATABASE_PASSWORD=test # $ : / ? # [ ] @ those characters must be converted using https://datatracker.ietf.org/doc/html/rfc3986#section-2.1
|
||||
- SPC_DATABASE_USERNAME=test # $ : / ? # [ ] @ those characters must be converted using https://datatracker.ietf.org/doc/html/rfc3986#section-2.1
|
||||
- SPC_DATABASE_HOST=serverpackcreatordb # Do not change this unless you absolutely know what you are doing.
|
||||
- SPC_DATABASE_PORT=27017 # Do not change this unless you absolutely know what you are doing.
|
||||
- SPC_DATABASE_DB=serverpackcreatordb # Do not change this unless you absolutely know what you are doing.
|
||||
ports:
|
||||
- "8080:8080" # Port at which SPC will be available at on your host : Port of the webservice inside the container. Only change the left value, it at all.
|
||||
volumes:
|
||||
- ./modpacks:/app/serverpackcreator/modpacks # Path at which modpacks from the container will be stored at on your host : Path to the modpacks in the container. Only change the left value, if at all.
|
||||
- ./server-packs:/app/serverpackcreator/server-packs # Path at which server packs from the container will be stored at on your host : Path to the server packs in the container. Only change the left value, if at all.
|
||||
- ./logs:/app/serverpackcreator/logs # Path at which logs from the container will be stored at on your host : Path to the logs in the container. Only change the left value, if at all.
|
||||
|
||||
volumes:
|
||||
spcdb-data:
|
||||
spcdb-conf:
|
||||
Reference in New Issue
Block a user