blob: 60536f456b322e74d5ae6d1cfeed91aea20781b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
services:
homepage:
image: nginx:alpine
container_name: homepage
restart: unless-stopped
ports:
- "8080:80"
volumes:
# Mount ONLY the public folder to the Nginx root
- ./public:/usr/share/nginx/html:ro
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
networks:
- nginx_default
networks:
nginx_default:
external: true
|