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}"
|
||||
container_name: drone
|
||||
hostname: drone
|
||||
extra_hosts:
|
||||
# Not necessary, but allows to access to local database if chosen over SQLite.
|
||||
- "host.docker.internal:host-gateway"
|
||||
volumes:
|
||||
- "${HOST_DATA_DIR:-./data}:/data"
|
||||
ports:
|
||||
|
|
Loading…
Reference in a new issue