2023-09-26 16:09:27 +00:00
|
|
|
# 2023-09-26
|
2023-09-25 08:40:20 +00:00
|
|
|
# Stack: stacks
|
|
|
|
---
|
|
|
|
|
|
|
|
homepage:
|
|
|
|
name: "homepage"
|
|
|
|
tasks:
|
|
|
|
- homepage.yml
|
|
|
|
ipv6: true
|
|
|
|
|
|
|
|
directories:
|
|
|
|
- "{{ stack_folder_conf }}/homepage/conf"
|
|
|
|
- "{{ stack_folder_datas }}/homepage/datas"
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
- name: "homepage"
|
|
|
|
image: "ghcr.io/benphelps/homepage:latest"
|
|
|
|
restart: "always"
|
|
|
|
ports:
|
|
|
|
- { exposed: "${VM_PORT_HOMEPAGE}", container: "3000" }
|
|
|
|
healthcheck: 'wget --no-verbose --tries=1 --spider http://0.0.0.0:3000/ || exit 1'
|
|
|
|
ressources:
|
2023-09-26 16:09:27 +00:00
|
|
|
cpus: "{{ vm_os_cpu_max }}"
|
|
|
|
memory: "{{ 0.5 if 0.5 <= vm_os_memory_max|float else vm_os_memory_max|float }}G"
|
2023-09-25 08:40:20 +00:00
|
|
|
volumes:
|
|
|
|
- { local: './{{ stack_folder_conf }}/homepage/conf', container: '/app/config', mode: 'ro' }
|
|
|
|
- { local: './{{ stack_folder_datas }}/homepage/datas/icons', container: '/app/public/icons', mode: 'ro' }
|
|
|
|
- { local: './{{ stack_folder_datas }}/homepage/datas/images', container: '/app/public/images', mode: 'ro' }
|