Skip to content

Docker & docker-compose

  • To enable host.docker.internal on php for xdebug host add extra_hosts: [host.docker.internal:host-gateway] to php service
  • To run service as arbitrary user set user: 1000:1000 where 1000:1000 is UID and GID of user
  • Nginx automatically makes envsubst on templates. Just add volume and point it to /etc/nginx/templates
  • Path to postgresql data is /var/lib/postgresql/data