mirror of
https://github.com/linuxserver/docker-mame.git
synced 2026-01-09 07:45:04 +08:00
syntax and readme updates
This commit is contained in:
parent
6f42845eff
commit
51af9cd30b
@ -1,3 +1,5 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM ghcr.io/linuxserver/baseimage-selkies:ubuntunoble
|
||||
|
||||
# set version label
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM ghcr.io/linuxserver/baseimage-selkies:arm64v8-ubuntunoble
|
||||
|
||||
# set version label
|
||||
|
||||
@ -222,8 +222,6 @@ services:
|
||||
mame:
|
||||
image: lscr.io/linuxserver/mame:latest
|
||||
container_name: mame
|
||||
security_opt:
|
||||
- seccomp:unconfined #optional
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
@ -243,7 +241,6 @@ services:
|
||||
```bash
|
||||
docker run -d \
|
||||
--name=mame \
|
||||
--security-opt seccomp=unconfined `#optional` \
|
||||
-e PUID=1000 \
|
||||
-e PGID=1000 \
|
||||
-e TZ=Etc/UTC \
|
||||
@ -270,7 +267,6 @@ Containers are configured using parameters passed at runtime (such as those abov
|
||||
| `-v /config` | Users home directory in the container, stores local files and settings |
|
||||
| `-v /mame:ro` | MAME directory containing artwork, roms, and assets. |
|
||||
| `--shm-size=` | This is needed for MAME to function. |
|
||||
| `--security-opt seccomp=unconfined` | For Docker Engine only, many modern gui apps need this to function on older hosts as syscalls are unknown to Docker. |
|
||||
|
||||
## Environment variables from files (Docker secrets)
|
||||
|
||||
|
||||
@ -17,9 +17,6 @@ development_versions: false
|
||||
# container parameters
|
||||
common_param_env_vars_enabled: true
|
||||
param_container_name: "{{ project_name }}"
|
||||
param_usage_include_env: true
|
||||
param_env_vars:
|
||||
- {env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London."}
|
||||
param_usage_include_vols: true
|
||||
param_volumes:
|
||||
- {vol_path: "/config", vol_host_path: "/path/to/config", desc: "Users home directory in the container, stores local files and settings"}
|
||||
@ -30,10 +27,6 @@ param_ports:
|
||||
- {external_port: "3001", internal_port: "3001", port_desc: "HTTPS MAME desktop gui."}
|
||||
custom_params:
|
||||
- {name: "shm-size", name_compose: "shm_size", value: "1gb", desc: "This is needed for MAME to function."}
|
||||
# optional variables
|
||||
opt_security_opt_param: true
|
||||
opt_security_opt_param_vars:
|
||||
- {run_var: "seccomp=unconfined", compose_var: "seccomp:unconfined", desc: "For Docker Engine only, many modern gui apps need this to function on older hosts as syscalls are unknown to Docker."}
|
||||
# Selkies blurb settings
|
||||
selkies_blurb: true
|
||||
show_nvidia: true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user