diff --git a/docker-compose.yml b/docker-compose.yml index 5ab9143..53fbe25 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,15 +15,14 @@ services: php: image: "thecoopcloud/wordpress:5.8.2-php7.4-fpm-bedrock" working_dir: /app + environment: + # Pass SSH agent socket, to avoid having to reënter your passphrase + SSH_AUTH_SOCK: "${SSH_AUTH_SOCK}" volumes: - ./src:/app:cached # Use your own SSH Host Key file - "${HOME}/.ssh/known_hosts:/root/.ssh/known_hosts:ro" - $SSH_AUTH_SOCK:$SSH_AUTH_SOCK - environment: - # Pass SSH agent socket, to avoid having to reënter your passphrase - SSH_AUTH_SOCK: "${SSH_AUTH_SOCK}" - db: image: mariadb:10.4 volumes: