mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 06:46:00 +00:00
logs are now written in log files
This commit is contained in:
@@ -7,19 +7,20 @@ services:
|
||||
container_name: romm
|
||||
environment:
|
||||
- ROMM_DB_DRIVER=mariadb # This variable can be set as: mariadb | sqlite. If it is not defined, sqlite will be the database by default
|
||||
- DB_HOST=mariadb # Only needed if ROMM_DB_DRIVER=mariadb
|
||||
- DB_PORT=3306 # Only needed if ROMM_DB_DRIVER=mariadb
|
||||
- DB_USER=romm-user # Only needed if ROMM_DB_DRIVER=mariadb
|
||||
- DB_NAME=romm # Only needed if ROMM_DB_DRIVER=mariadb. Can be optionally changed, and should match the MYSQL_DATABASE value in the mariadb container.
|
||||
- DB_PASSWD=<database password> # Only needed if ROMM_DB_DRIVER=mariadb
|
||||
- DB_HOST=mariadb # [Optional] Only needed if ROMM_DB_DRIVER=mariadb
|
||||
- DB_PORT=3306 # [Optional] Only needed if ROMM_DB_DRIVER=mariadb
|
||||
- DB_USER=romm-user # [Optional] Only needed if ROMM_DB_DRIVER=mariadb
|
||||
- DB_NAME=romm # [Optional] Only needed if ROMM_DB_DRIVER=mariadb. Can be optionally changed, and should match the MYSQL_DATABASE value in the mariadb container.
|
||||
- DB_PASSWD=<database password> # [Optional] Only needed if ROMM_DB_DRIVER=mariadb
|
||||
- CLIENT_ID=<IGDB client id>
|
||||
- CLIENT_SECRET=<IGDB client secret>
|
||||
- STEAMGRIDDB_API_KEY=<SteamGridDB api key>
|
||||
volumes:
|
||||
- '/path/to/library:/romm/library'
|
||||
- '/path/to/resources:/romm/resources'
|
||||
- '/path/to/config.yml:/romm/config.yml'
|
||||
- '/path/to/database:/romm/database' # Only needed if ROMM_DB_DRIVER=sqlite or ROMM_DB_DRIVER not exists
|
||||
- '/path/to/resources:/romm/resources' # [Optional] Path where roms metadata (cover) are stored
|
||||
- '/path/to/config.yml:/romm/config.yml' # [Optional] Path where config is stored
|
||||
- '/path/to/database:/romm/database' # [Optional] Only needed if ROMM_DB_DRIVER=sqlite or ROMM_DB_DRIVER not exists
|
||||
- '/path/to/logs:/romm/logs' # [Optional] Path where RomM logs are stored
|
||||
ports:
|
||||
- 80:80
|
||||
depends_on:
|
||||
|
||||
Reference in New Issue
Block a user