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

12 lines
284 B
YAML
Raw Normal View History

2023-11-22 08:26:10 +01:00
services:
2024-02-17 19:01:04 +01:00
homepage:
2023-12-06 08:42:31 +01:00
image: nginx:alpine
2023-11-22 08:26:10 +01:00
restart: always
2024-02-17 19:01:04 +01:00
container_name: homepage
user: {{ users['homepage'] }}:{{ users['homepage'] }}
2023-11-22 08:26:10 +01:00
ports:
2024-02-17 19:01:04 +01:00
- {{ ports['homepage'] }}:80
2023-11-22 08:26:10 +01:00
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- ./index:/mnt/index