Skip to content

sylvaindumont/docker-nginx-php-fpm-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Proxy a php-fpm container (as drupal:fpm or piwik:fpm)

How to use

services:
  drupal:
    restart: always
    image: drupal:7.54-fpm-alpine
    volumes:
      - drupal:/var/www/html/
    depends_on:
      - mariadb

  drupal-proxy:
    restart: always
    image: weboaks/docker-nginx-php-fpm-proxy
    volumes:
      - drupal:/var/www/html/
    depends_on:
      - drupal
    environment:
      - BACKEND=drupal
    command: /bin/bash -c "envsubst '$$BACKEND' < /etc/nginx/nginx.tmpl > /etc/nginx/nginx.conf && nginx -g 'daemon off;'"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •