Use $PWD for new Docker Compose format.
This commit is contained in:
parent
15233528de
commit
4f9d8916c3
2 changed files with 6 additions and 6 deletions
|
@ -10,8 +10,8 @@ services:
|
|||
- "127.0.0.1:3306:3306"
|
||||
- "127.0.0.1:6379:6379"
|
||||
volumes:
|
||||
- ./util/local_ssl:/etc/nginx/certs
|
||||
- ./vendor:/var/azuracast/www/vendor
|
||||
- .:/var/azuracast/www
|
||||
- $PWD/util/local_ssl:/etc/nginx/certs
|
||||
- $PWD/vendor:/var/azuracast/www/vendor
|
||||
- $PWD:/var/azuracast/www
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
|
|
|
@ -5,9 +5,9 @@ services:
|
|||
context: ./frontend
|
||||
user: "${AZURACAST_PUID:-1000}:${AZURACAST_PGID:-1000}"
|
||||
volumes:
|
||||
- ./frontend:/data/frontend
|
||||
- ./resources/locale:/data/resources/locale
|
||||
- ./web/static:/data/web/static
|
||||
- $PWD/frontend:/data/frontend
|
||||
- $PWD/resources/locale:/data/resources/locale
|
||||
- $PWD/web/static:/data/web/static
|
||||
- frontend_node_modules:/data/frontend/node_modules
|
||||
|
||||
volumes:
|
||||
|
|
Loading…
Reference in a new issue