From c164137d3540ee8b40272793d3d5d45e7e791043 Mon Sep 17 00:00:00 2001 From: Craig Williams Date: Mon, 16 Mar 2026 12:17:13 -0400 Subject: [PATCH] Updated config systems and compase config location --- compose.yaml | 56 +++++++++++++++++++ config.yml | 149 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 205 insertions(+) create mode 100644 compose.yaml create mode 100644 config.yml diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..c6ceaa3 --- /dev/null +++ b/compose.yaml @@ -0,0 +1,56 @@ +version: "3" + +volumes: + mysql_data: + romm_resources: + romm_redis_data: + +services: + romm: + image: rommapp/romm:latest + container_name: romm + restart: unless-stopped + environment: + - DB_HOST=romm-db + - DB_NAME=romm # Should match MARIADB_DATABASE in mariadb + - DB_USER=romm-user # Should match MARIADB_USER in mariadb + - DB_PASSWD=romm # Should match MARIADB_PASSWORD in MariaDB + - IGDB_CLIENT_ID=mkmafpxiyxz8abxomvbsd6td54l48v + - IGDB_CLIENT_SECRET=apllw3e2ao02cymsn8r58bniazdxzi + - ROMM_AUTH_SECRET_KEY=398cad5791112b3b21de1492a7bf93db7fe5e993dcc82aedc9d706aafcb700f9 + - SCREENSCRAPER_USER=Dewdirtyx + - SCREENSCRAPER_PASSWORD=121491 + - RETROACHIEVEMENTS_API_KEY=JtpDp0XAbyCkqHaYTta6B5mxF8UxHf3E + - STEAMGRIDDB_API_KEY= # https://docs.romm.app/latest/Getting-Started/Metadata-Providers/#steamgriddb + - HASHEOUS_API_ENABLED=true # https://docs.romm.app/latest/Getting-Started/Metadata-Providers/#hasheous + volumes: + - /mnt/user/data/retro-gaming/romm/resources:/romm/resources # Resources fetched from IGDB (covers, screenshots, etc.) + - /mnt/user/appdata/romm:/redis-data # Cached data for background tasks + - /mnt/user/data/retro-gaming/roms:/romm/library # Your game library. Check https://docs.romm.app/latest/Getting-Started/Folder-Structure/ for more details. + - /mnt/user/data/retro-gaming/romm/assets:/romm/assets # Uploaded saves, states, etc. + - /mnt/user/data/retro-gaming/romm/config:/romm/config # (Optional) Path where config.yml is stored + ports: + - 8087:8080 + depends_on: + romm-db: + condition: service_healthy + restart: true + + romm-db: + image: mariadb:latest + container_name: romm-db + restart: unless-stopped + environment: + - MARIADB_ROOT_PASSWORD= # Use a unique, secure password + - MARIADB_DATABASE=romm + - MARIADB_USER=romm-user + - MARIADB_PASSWORD=romm + volumes: + - mysql_data:/var/lib/mysql + healthcheck: + test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"] + start_period: 30s + start_interval: 10s + interval: 10s + timeout: 5s + retries: 5 \ No newline at end of file diff --git a/config.yml b/config.yml new file mode 100644 index 0000000..5514b4f --- /dev/null +++ b/config.yml @@ -0,0 +1,149 @@ +emulatorjs: + cache_limit: null + controls: {} + debug: false + disable_auto_unload: false + disable_batch_bootup: false + netplay: + enabled: false + ice_servers: [] + settings: {} +exclude: + platforms: &id001 + - '@eaDir' + - __MACOSX + - $RECYCLE.BIN + - .Trash-* + - .stfolder + - .Spotlight-V100 + - .fseventsd + - .DocumentRevisions-V100 + - System Volume Information + roms: + multi_file: + names: *id001 + parts: + extensions: + - db + - ini + - tmp + - bak + - lock + - log + - cache + - crdownload + names: &id002 + - .DS_Store + - .localized + - .Trashes + - .stfolder + - '@SynoResource' + - gamelist.xml + single_file: + extensions: + - db + - ini + - tmp + - bak + - lock + - log + - cache + - crdownload + names: *id002 +filesystem: + firmware_folder: bios + roms_folder: roms +scan: + export_gamelist: false + media: + - box2d + - screenshot + - manual + priority: + artwork: + - igdb + - moby + - ss + - ra + - launchbox + - gamelist + - hasheous + - tgdb + - flashpoint + - hltb + language: + - en + - fr + metadata: + - igdb + - moby + - ss + - ra + - launchbox + - gamelist + - hasheous + - tgdb + - flashpoint + - hltb + region: + - us + - wor + - ss + - eu + - jp +system: + platforms: + Atari 2600: atari2600 + Atari 5200: atari5200 + Atari 7800: atari7800 + Atari Jaguar: jaguar + Atari Lynx: lynx + Atari Jaguar CD: atari-jaguar-cd + ColecoVision: colecovision + Commodore 64: c64 + Daphne: + DOS: dos + Final Burn Alpha: + MAME: arcade + Mattel Intellivision: intellivision + Megaduck: mega-duck-slash-cougar-boy + Microsoft Xbox: xbox + Microsoft Xbox 360: xbox360 + NEC Turbografx-16: turbografx16--1 + NeoGeo: neogeoaes + NeoGeo CD: neo-geo-cd + Neo Geo Pocket: neo-geo-pocket + Neo Geo Pocket Color: neo-geo-pocket-color + Nintendo 3DS: 3ds + Nintendo 64: n64 + Nintendo DS: nds + Nintendo Gameboy: gb + Nintendo Gameboy Advance: gba + Nintendo Gameboy Color: gbc + Nintendo Gamecube: ngc + Nintendo NES: nes + Nintendo SNES: snes + Nintendo Switch: switch + Nintendo Wii: wii + Nintendo Wii U: wiiu + Panasonic 3DO: 3do + PC Engine: tg16 + PC Engine CD: turbografx-cd + Philips CDi: philips-cd-i + Sega 32X: sega-32x + Sega CD: segacd + Sega Dreamcast: dc + Sega Game Gear: gamegear + Sega Genesis: genesis + Sega Model 2: model2 + Sega Model 3: model3 + Sega Nomad: nomad + Sega Saturn: saturn + Sony Playstation: ps + Sony Playstation 2: ps2 + Sony Playstation 3: ps3 + Sony Playstation Portable: psp + Sony Playstation Vita: + WonderSwan: wonderswan + WonderSwan Color: wonderswan-color + versions: {}