Opting for an example minio setup over filebrowser
Some checks failed
Ansible Linting / ansible-lint (push) Failing after 4s
Secops Linting and Safety Checks / checkov-scan-s3 (push) Failing after 14s

This commit is contained in:
shockrah 2025-04-16 21:00:39 -07:00
parent 3c6bc90feb
commit b68d53b143
3 changed files with 12 additions and 21 deletions

View File

@ -25,6 +25,7 @@
- name: Apply docker compose with services
community.docker.docker_compose_v2:
project_src: "{{ services.compose_dir }}"
remove_orphans: true
register: compose_output
- name: Show output of docker compose apply
ansible.builtin.debug:

View File

@ -2,26 +2,18 @@ services:
health:
container_name: health
image: nginx:latest
restart: always
ports:
- "{{ health_port }}:80"
filebrowser:
container_name: filebrowser
image: filebrowser/filebrowser
minio:
container_name: minio
image: quay.io/minio/minio
command: server /data --console-address ":9001"
volumes:
- filebrowser-data:/srv
- filebrowser-db:/database.db
- "/opt/minio/data:/data"
environment:
PUID: "{{ puid }}"
PGID: "{{ pgid }}"
volumes:
filebrowser-data:
name: vol-filebrowser-data
driver: local
filebrowser-db:
name: vol-filebrowser-db
driver: local
filebrowser-cfg:
name: vol-filebrowser-cfg
driver: local
MINIO_ROOT_USER: admin
MINIO_ROOT_PASSWORD: admin123
ports:
- "9000:9000"
- "9001:9001"

View File

@ -1,6 +1,4 @@
services:
compose_dir: /home/nigel/compose
fb:
port: 8000
health:
port: 8080