Compare commits
5 Commits
ba0fc7a72c
...
676b21017a
| Author | SHA1 | Date |
|---|---|---|
|
|
676b21017a | 2 years ago |
|
|
470478bbb5 | 2 years ago |
|
|
160a0990f1 | 2 years ago |
|
|
f3c8366878 | 2 years ago |
|
|
f6274e8c06 | 2 years ago |
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
minio_state: present
|
||||||
|
minio_image: minio/minio
|
||||||
|
minio_tag: RELEASE.2023-06-29T05-12-28Z
|
||||||
|
minio_api_expose_port: 11000
|
||||||
|
minio_console_expose_port: 11001
|
||||||
|
minio_container_name: minio
|
||||||
|
minio_portainer_stack_name: minio
|
||||||
@ -0,0 +1,32 @@
|
|||||||
|
---
|
||||||
|
- name: "Minio | Update Portainer."
|
||||||
|
chatton.portainer.portainer_stack:
|
||||||
|
username: '{{ portainer_user }}'
|
||||||
|
password: '{{ portainer.password }}'
|
||||||
|
base_url: '{{ portainer_base_url }}'
|
||||||
|
stack_name: '{{ minio_portainer_stack_name }}'
|
||||||
|
endpoint_id: '{{ portainer_endpoint }}'
|
||||||
|
state: "{{ minio_state }}"
|
||||||
|
definition:
|
||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
minio:
|
||||||
|
container_name: "{{ minio_container_name }}"
|
||||||
|
image: "{{ minio_image }}:{{ minio_tag }}"
|
||||||
|
ports:
|
||||||
|
# The API
|
||||||
|
- "{{ minio_api_expose_port }}:9000"
|
||||||
|
# The web console
|
||||||
|
- "{{ minio_console_expose_port }}:9001"
|
||||||
|
volumes:
|
||||||
|
- minio_storage:/data
|
||||||
|
environment:
|
||||||
|
# specified in the vault file
|
||||||
|
MINIO_ROOT_USER: "{{ minio_username }}"
|
||||||
|
MINIO_ROOT_PASSWORD: "{{ minio_password }}"
|
||||||
|
MINIO_API_ROOT_ACCESS: "on"
|
||||||
|
MINIO_BROWSER_REDIRECT_URL: "http://{{ ansible_default_ipv4.address }}:11000"
|
||||||
|
|
||||||
|
command: server --console-address ":9001" /data
|
||||||
|
volumes:
|
||||||
|
minio_storage: {}
|
||||||
@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
portainer_version: 2.18.3
|
||||||
@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
portainer_agent_version: 2.18.3
|
||||||
@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
- name: Portainer Agent
|
||||||
|
community.docker.docker_compose:
|
||||||
|
project_name: portainer_agent
|
||||||
|
definition:
|
||||||
|
version: '3.3'
|
||||||
|
services:
|
||||||
|
agent:
|
||||||
|
ports:
|
||||||
|
- '9001:9001'
|
||||||
|
container_name: portainer_agent
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- '/var/run/docker.sock:/var/run/docker.sock'
|
||||||
|
- '/var/lib/docker/volumes:/var/lib/docker/volumes'
|
||||||
|
image: 'portainer/agent:{{ portainer_agent_version }}'
|
||||||
@ -0,0 +1,8 @@
|
|||||||
|
deb http://deb.debian.org/debian bullseye main
|
||||||
|
deb-src http://deb.debian.org/debian bullseye main
|
||||||
|
|
||||||
|
deb http://deb.debian.org/debian-security/ bullseye-security main
|
||||||
|
deb-src http://deb.debian.org/debian-security/ bullseye-security main
|
||||||
|
|
||||||
|
deb http://deb.debian.org/debian bullseye-updates main
|
||||||
|
deb-src http://deb.debian.org/debian bullseye-updates main
|
||||||
Loading…
Reference in New Issue