---
version: "2"
services:
serverpackcreator:
image: griefed/serverpackcreator:7.1.4
container_name: serverpackcreator
restart: no
environment:
- TZ=Europe/Berlin # Your Timezone
- SPC_DATABASE_USERNAME= # Username for database access
- SPC_DATABASE_PORT=5432 # Port at which the database listens
- SPC_DATABASE_PASSWORD= # Password for database access
- SPC_DATABASE_HOST=serverpackcreatordb # Hostname of your database
- SPC_DATABASE_DB=serverpackcreator # Database name
- PUID=1000 # Your user ID
- PGID=1000 # Your group ID
volumes:
- /host/path/to/app/serverpackcreator/server-packs:/app/serverpackcreator/server-packs # Created server packs will be here
- /host/path/to/app/serverpackcreator/modpacks:/app/serverpackcreator/modpacks # Uploaded modpacks will be here
- /host/path/to/app/serverpackcreator/logs:/app/serverpackcreator/logs # Logs directory
ports:
- 8080:8080/tcp # Port at which the UI will be available at