vps/roles/homepage/templates/docker-compose.yaml
2024-02-17 19:01:04 +01:00

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