ansible/roles/stacks/composes/inventory/adminer.yml

35 lines
682 B
YAML
Raw Normal View History

2023-09-26 16:09:27 +00:00
# 2023-09-26
2023-09-25 08:40:20 +00:00
# Stack: adminer
---
adminer:
name: "adminer"
ipv6: true
directories: []
services:
- name: "adminer"
image: "adminer:latest"
uid: "0"
gid: "0"
capabilities:
- DAC_OVERRIDE
- DAC_READ_SEARCH
- CHOWN
- SETUID
- SETGID
- SYS_ADMIN
- MKNOD
- SETFCAP
- SETPCAP
- SYS_RESOURCE
restart: "no"
ports:
- { exposed: "${VM_PORT_ADMINER}", container: "8080" }
healthcheck: 'php -v || exit 1'
ressources:
2023-09-26 16:09:27 +00:00
cpu: "{{ vm_os_cpu_half }}"
memory: "{{ 1.0 if 1.0 <= vm_os_memory_max|float else vm_os_memory_max|float }}G"