Skip to content

[Read-only] Please check the main repository if you want to contribute.

License

Notifications You must be signed in to change notification settings

origamiphp/docker-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nginx image

Image pulls

✨ Features

An image based on nginx:alpine with HTTPS support and custom domains.

🐳 Supported tags

  • Image size (latest)

🚀 Usage

services:
# [...]
  nginx:
    image: ajardin/nginx:latest
    ports:
      - "80:80"
      - "443:443"
    volumes:
      # Project files
      - ${PROJECT_LOCATION}:/var/www/html:delegated
      # SSL certificates
      - ${PROJECT_LOCATION}/var/docker/nginx/certs:/etc/nginx/ssl:cached
      # Custom configuration
      - ${PROJECT_LOCATION}/var/docker/nginx/custom.conf:/etc/nginx/conf.d/custom.conf:ro
    depends_on:
      - php
    tty: true
# [...]

About

[Read-only] Please check the main repository if you want to contribute.

Topics

Resources

License

Stars

Watchers

Forks