-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (45 loc) · 1.44 KB
/
docker-compose.yml
File metadata and controls
45 lines (45 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
services:
todo-service-name:
build:
dockerfile: ./docker/${IMAGE_TAG}/Dockerfile
args:
BASE_IMAGE: ${BASE_IMAGE}
IMAGE_USER: ${IMAGE_USER}
HOME_FOLDER: ${HOME_FOLDER}
TIME_ZONE: ${TIME_ZONE}
x-bake:
contexts:
home-folder-config: ./docker/build-context/home-folder-config
platforms:
- linux/amd64 # for PC
- linux/arm64 # for arm64 platforms
privileged: true
tags:
- ${DOCKER_USER}/${IMAGE_NAME}:${IMAGE_TAG}
image: ${DOCKER_USER}/${IMAGE_NAME}:${IMAGE_TAG}
pull_policy: missing
container_name: ${CONTAINER_NAME}
privileged: true
user: root
hostname: ${HOST}
network_mode: host
ipc: host
pid: host
ulimits:
core: -1
group_add:
- video
- audio
environment: # -e
DISPLAY: ${DISPLAY}
QT_X11_NO_MITSHM: 1
XAUTHORITY: ${XAUTH}
volumes: # -v
- /var/lib/systemd/coredump/:/cores
- /tmp/.X11-unix/:/tmp/.X11-unix/:rw
- ${XAUTH}:${XAUTH}
- .:${HOME_FOLDER}/${CODE_FOLDER}
working_dir: ${HOME_FOLDER}/${CODE_FOLDER}
stdin_open: true # for -it
tty: true # for -it
# command: /bin/zsh