11 lines
284 B
YAML
11 lines
284 B
YAML
services:
|
|
homepage:
|
|
image: nginx:alpine
|
|
restart: always
|
|
container_name: homepage
|
|
user: {{ users['homepage'] }}:{{ users['homepage'] }}
|
|
ports:
|
|
- {{ ports['homepage'] }}:80
|
|
volumes:
|
|
- ./nginx.conf:/etc/nginx/nginx.conf
|
|
- ./index:/mnt/index
|