drone. Adding host mapping for host.docker.internal.
This commit is contained in:
parent
3b2fba1309
commit
b671d984d0
|
@ -6,6 +6,9 @@ services:
|
||||||
image: "drone/drone:${IMAGE_VERSION:-2}"
|
image: "drone/drone:${IMAGE_VERSION:-2}"
|
||||||
container_name: drone
|
container_name: drone
|
||||||
hostname: drone
|
hostname: drone
|
||||||
|
extra_hosts:
|
||||||
|
# Not necessary, but allows to access to local database if chosen over SQLite.
|
||||||
|
- "host.docker.internal:host-gateway"
|
||||||
volumes:
|
volumes:
|
||||||
- "${HOST_DATA_DIR:-./data}:/data"
|
- "${HOST_DATA_DIR:-./data}:/data"
|
||||||
ports:
|
ports:
|
||||||
|
|
Loading…
Reference in a new issue