- Initial release.
This commit is contained in:
40
compose.yaml
Normal file
40
compose.yaml
Normal file
@@ -0,0 +1,40 @@
|
||||
# Rx3 X11 Pulse Mageia-9 Docker Image
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
name: ${IMG_NAME}
|
||||
|
||||
services:
|
||||
default:
|
||||
container_name: ${IMG_NAME}
|
||||
image: docker.xor.rx3:5000/rx3/${IMG_NAME}:${IMG_VERSION}
|
||||
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
- IMG_NAME=${IMG_NAME}
|
||||
- IMG_FULL_NAME=${IMG_FULL_NAME}
|
||||
- IMG_VERSION=${IMG_VERSION}
|
||||
- IMG_MAINTAINER=${IMG_MAINTAINER}
|
||||
|
||||
restart: unless-stopped
|
||||
|
||||
environment:
|
||||
- DISPLAY=:0
|
||||
|
||||
volumes:
|
||||
- home_dir:/home
|
||||
- type: bind
|
||||
source: /tmp/.X11-unix/X0
|
||||
target: /tmp/.X11-unix/X0
|
||||
- type: bind
|
||||
source: /run/user/${USER_ID}/pulse
|
||||
target: /run/user/${USER_ID}/pulse
|
||||
- type: bind
|
||||
source: ${APPL_HOME_DIR}
|
||||
target: ${APPL_HOME_DIR}
|
||||
|
||||
network_mode: bridge
|
||||
|
||||
volumes:
|
||||
home_dir:
|
||||
external: true
|
||||
Reference in New Issue
Block a user