Public | Automated Build

Last pushed: 9 months ago
Short Description
Simple Docker images for web development
Full Description

apache tag

  • The apache conf is looking for two environment variables to be set:
    • VIRTUAL_HOST: sitename.dev
    • WEBROOT: /var/www/web/public (should pretty closely match the shared volume)

Example docker-compose.yml:

version: '2'
services:
  web:
    image: spydertrap/docker:apache
    ports:
      - "80"
    volumes:
      - ./www:/var/www/web
    external_links:
      - "postgres"
    environment:
      VIRTUAL_HOST: eed.dev
      WEBROOT: /var/www/web/public
networks:
  default:
    external:
      name: nginx-proxy
Docker Pull Command
Owner
spydertrap
Source Repository

Comments (0)