docker-nginx-static-server/docker-compose.yml

11 lines
187 B
YAML

version: '3'
services:
server:
image: nginx:alpine
restart: always
ports:
- 80:80
volumes:
- ./data:/srv
- ./nginx.conf:/etc/nginx/conf.d/default.conf