From 73dbb17859f863c29719d0a8c97458905a9e5542 Mon Sep 17 00:00:00 2001 From: sickprodigy Date: Fri, 21 Nov 2025 19:26:20 -0500 Subject: [PATCH] Add docker-compose configuration for romm service --- romm/docker-compose.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 romm/docker-compose.yml diff --git a/romm/docker-compose.yml b/romm/docker-compose.yml new file mode 100644 index 0000000..ba2c65f --- /dev/null +++ b/romm/docker-compose.yml @@ -0,0 +1,35 @@ +version: "3" + +services: + romm: + image: rommapp/romm:latest + container_name: romm + restart: unless-stopped + environment: + - DB_HOST=mariadb + - DB_NAME=rommdb # Should match MYSQL_DATABASE in mariadb + - DB_USER=rommuser # Should match MYSQL_USER in mariadb + - DB_PASSWD=YourDBPassword # Should match MYSQL_PASSWORD in mariadb + - ROMM_AUTH_SECRET_KEY= # Generate a key with `openssl rand -hex 32` + - IGDB_CLIENT_ID=YourAPIClientID # Generate an ID and SECRET in IGDB + - IGDB_CLIENT_SECRET=YourAPIClientSecret # https://api-docs.igdb.com/#account-creation + # - MOBYGAMES_API_KEY= # https://www.mobygames.com/info/api/ + - STEAMGRIDDB_API_KEY=YourSteamAPIKey # https://github.com/rommapp/romm/wiki/Generate-API-Keys#steamgriddb + volumes: + - /docker-containers/romm/romm_resources:/romm/resources # Resources fetched from IGDB (covers, screenshots, etc.) + - /docker-containers/romm/romm_redis_data:/redis-data # Cached data for background tasks + - /games/EmulatorGames:/romm/library/roms # Your game library + - /games/Emulators/Bios:/romm/library/bios # Your game library + - /docker-containers/romm/assets:/romm/assets # Uploaded saves, states, etc. + - /docker-containers/romm/config:/romm/config # Path where config.yml is stored + ports: + - 8172:8080 + networks: + homelab: + aliases: + - emulator # how to add multiple aliases + - rom-emu + +networks: # I don't know why but you have to specify the network 2x. In service, and in this tag area.. + homelab: # Sub-section, any network name or 'default' to edit default one created + external: true # This option causes compose to join the above network instead of making a _default one \ No newline at end of file