mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
fix: use the PWD environment variable in docker-compose files
This commit is contained in:
@@ -24,9 +24,8 @@ services:
|
||||
- video
|
||||
volumes:
|
||||
- /etc/resolv.conf:/etc/resolv.conf:ro
|
||||
- ./data:/var/lib/boinc
|
||||
- ${PWD}/data:/var/lib/boinc
|
||||
environment:
|
||||
- BOINC_CMD_LINE_OPTIONS=--allow_remote_gui_rpc
|
||||
- BOINC_GUI_RPC_PASSWORD=123
|
||||
- BOINC_REMOTE_HOST=192.168.1.1
|
||||
- TZ=Europe/Dublin
|
||||
|
||||
@@ -21,7 +21,7 @@ services:
|
||||
- /dev/dri:/dev/dri
|
||||
volumes:
|
||||
- /etc/resolv.conf:/etc/resolv.conf:ro
|
||||
- ./data:/var/lib/boinc
|
||||
- ${PWD}/data:/var/lib/boinc
|
||||
environment:
|
||||
- BOINC_CMD_LINE_OPTIONS=--allow_remote_gui_rpc
|
||||
- BOINC_GUI_RPC_PASSWORD=123
|
||||
|
||||
@@ -15,9 +15,8 @@ services:
|
||||
network_mode: host
|
||||
pid: host
|
||||
volumes:
|
||||
- ./data:/var/lib/boinc
|
||||
- ${PWD}/data:/var/lib/boinc
|
||||
environment:
|
||||
- BOINC_CMD_LINE_OPTIONS=--allow_remote_gui_rpc
|
||||
- BOINC_GUI_RPC_PASSWORD=123
|
||||
- BOINC_REMOTE_HOST=192.168.1.1
|
||||
- TZ=Europe/Dublin
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
version: "3"
|
||||
services:
|
||||
syncthing:
|
||||
image: syncthing/syncthing:1.27.2
|
||||
image: syncthing/syncthing:1.27.3
|
||||
container_name: syncthing
|
||||
hostname: ${HOSTNAME}
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=100
|
||||
volumes:
|
||||
- ./config:/var/syncthing/config
|
||||
- ./data:/var/syncthing/data
|
||||
- ${PWD}/config:/var/syncthing/config
|
||||
- ${PWD}/data:/var/syncthing/data
|
||||
network_mode: host
|
||||
restart: unless-stopped
|
||||
|
||||
@@ -50,7 +50,7 @@ docker run -d --name 'boinc' --network='host' --pid='host' -v 'boinc:/var/lib/bo
|
||||
|
||||
# Gracefully stop containers.
|
||||
docker stop 'alpine-test'
|
||||
docker stop 'bdbe3f45'
|
||||
docker stop -t '0' 'bdbe3f45'
|
||||
|
||||
# Kill containers.
|
||||
docker kill 'alpine-test'
|
||||
|
||||
Reference in New Issue
Block a user