Nginx Docker Compose Static Website
Table of contents
Configuration
docker-compose.yml
version: "3"
services:
client:
image: nginx
container_name: nginxalpha
ports:
- 8090:80
volumes:
- ./src:/usr/share/nginx/html
restart: unless-stopped
Launch
cd /path/to/docker/project
sudo docker compose up -d