Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Commit

Permalink
Fix inconsistencies in bind mounting source
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Neff <[email protected]>
  • Loading branch information
andyneff committed Aug 29, 2018
1 parent e0ba0e7 commit a766678
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ services:
image: ${JUST_DOCKER_REPO}:windows
platform: windows
volumes:
- type: bind
source: ${JUST_SOURCE_DIR}
target: ${JUST_SOURCE_DIR_DOCKER}
- *linux_volume1
platform: linux

wine: &wine
Expand All @@ -52,7 +50,7 @@ services:
just_wine
cap_add:
- SYS_PTRACE
working_dir: /just
working_dir: /src
environment:
- DOCKER_UID=${JUST_UID}
- DOCKER_GIDS=${JUST_GIDS}
Expand All @@ -65,9 +63,7 @@ services:
- type: volume
source: wine_home
target: /home/wine
- type: bind
source: .
target: /just
- *linux_volume1
platform: linux
# command: -c "cd /z/vsi_common; bash -l"
wine_gui:
Expand All @@ -85,9 +81,7 @@ services:
- type: volume
source: wine_home
target: /home/.user_wine
- type: bind
source: .
target: /just
- *linux_volume1
- type: bind
read_only: true
target: /tmp/.X11-unix
Expand Down

0 comments on commit a766678

Please sign in to comment.