vps/roles/homepage/templates/docker-compose.yaml

11 lines
294 B
YAML

services:
homepage:
image: nginx:alpine
restart: always
container_name: homepage
user: {{ users['homepage'] }}:{{ users['homepage'] }}
ports:
- 127.0.0.1:{{ ports['homepage'] }}:80
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- ./index:/mnt/index