
version: '3.9'

services:
  proxy:
    image: nginx
    volumes:
     - ./nginx.conf:/etc/nginx/nginx.conf:ro
    ports:
     - "80:80"
    # This allows both containers to reference each other (via Docker
    # DNS).  The names 'pwpush' and 'proxy' will resolve to their
    # respective Docker IP addresses.
    links:
      - pwpush:proxy
  pwpush:
    image: docker.io/pglombardo/pwpush:latest
    ports:
      - "5100:5100"
    env_file:
      - env-file
