convert portainer to in-line docker compose definition
parent
15c3541a16
commit
bd7d73e40b
@ -1,25 +0,0 @@
|
||||
# setup_portainer
|
||||
|
||||
Role to configure Portainer. This role copies the docker-compose.yml onto the host and starts portainer with docker compose. If there is a backup of the portainer volume stored in s3, it will be restored before portainer is started.
|
||||
|
||||
## Table of content
|
||||
|
||||
- [Dependencies](#dependencies)
|
||||
- [License](#license)
|
||||
- [Author](#author)
|
||||
|
||||
---
|
||||
|
||||
|
||||
|
||||
## Dependencies
|
||||
|
||||
None.
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
|
||||
## Author
|
||||
|
||||
Cian Hatton
|
||||
@ -1,17 +0,0 @@
|
||||
---
|
||||
version: '3.2'
|
||||
services:
|
||||
portainer:
|
||||
labels:
|
||||
ie.cianhatton.backup.enabled: 'true'
|
||||
ie.cianhatton.backup.schedule: nightly
|
||||
image: portainer/portainer-ce:2.18.3
|
||||
container_name: portainer
|
||||
ports:
|
||||
- 9000:9000
|
||||
volumes:
|
||||
- portainer_data:/data
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
volumes:
|
||||
portainer_data:
|
||||
@ -1,15 +0,0 @@
|
||||
galaxy_info:
|
||||
author: Cian Hatton
|
||||
namespace: chatton
|
||||
description: Setup Portainer for my Home Lab
|
||||
license: MIT
|
||||
|
||||
min_ansible_version: "2.1"
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- all
|
||||
|
||||
galaxy_tags: []
|
||||
|
||||
dependencies: []
|
||||
Loading…
Reference in New Issue