30 lines
941 B
YAML
30 lines
941 B
YAML
# 2023-09-25
|
|
# 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:
|
|
cpus: "4.0"
|
|
memory: "512M"
|
|
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' }
|