- Move & Rename repo from Rx3/X11-Pulse-MGA9 to Rx3-Docker/X11-Pulse,

- New version naming standard,
- Now use docker_tools for .env building,
- Now use docker_service_add macro,
- Use now rx3-docker/base:1.3.0-mga9 image,
- Create src bin & dir/sbin directories.
This commit is contained in:
2024-11-18 00:06:21 +01:00
parent 77bb7d9185
commit 1ec6476ff6
8 changed files with 93 additions and 68 deletions

View File

@@ -1,41 +1,44 @@
# Rx3 X11 Pulse Mageia-9 Docker Image
# Rx3-Docker/X11-Pulse Docker Image
#-------------------------------------------------------------------------------
name: ${IMG_NAME}
name: ${XP_IMG_NAME}
services:
default:
container_name: ${IMG_NAME}
x11-pulse:
container_name: ${XP_HOST_NAME}
hostname: ${XP_HOST_NAME}
image: ${IMG_URL}
image: ${XP_IMG_URL}
build:
context: .
context: .
args:
- IMG_NAME=${IMG_NAME}
- IMG_FULL_NAME=${IMG_FULL_NAME}
- IMG_VERSION=${IMG_VERSION}
- IMG_MAINTAINER=${IMG_MAINTAINER}
IMG_NAME: ${XP_IMG_NAME}
IMG_NAME_FULL: ${XP_IMG_NAME_FULL}
IMG_VERSION: ${XP_IMG_VERSION}
IMG_MAINTAINER: ${XP_IMG_MAINTAINER}
IMG_FROM_URL: ${XP_IMG_FROM_URL}
restart: unless-stopped
restart: unless-stopped
environment:
DISPLAY: ":0"
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_DIR}"
target: "${APPL_DIR}"
- 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_DIR}"
target: "${APPL_DIR}"
networks:
- ${APPL_NETWORK}
- ${APPL_NETWORK}
volumes:
@@ -51,4 +54,3 @@ networks:
no-internet:
driver: bridge
internal: true # Block internet access