Add pinafore (#135)

I don't find any official docker images, so I set up a fork of the repo and build it with drone:

https://git.data.coop/data.coop/pinafore

Co-authored-by: Reynir Björnsson <reynir@reynir.dk>
Reviewed-on: data.coop/ansible#135
Co-authored-by: reynir <data.coop@reynir.dk>
Co-committed-by: reynir <data.coop@reynir.dk>
This commit is contained in:
reynir 2022-12-05 15:37:18 +00:00 committed by Sam A
parent 73bf2d41ba
commit 51c8acc119
2 changed files with 19 additions and 0 deletions

View file

@ -164,6 +164,11 @@ services:
version: a21f92bf74308d66cfcd545d49b81eba0211a222
allowed_sender_domain: true
pinafore:
file: pinafore.yml
domain: "pinafore.{{ base_domain }}"
version: v2.4.0
membersystem:
file: membersystem.yml
domain: "member.{{ base_domain }}"

View file

@ -0,0 +1,14 @@
- name: Set up Pinafore
docker_container:
name: pinafore
image: "docker.data.coop/pinafore:{{ services.pinafore.version }}"
restart_policy: unless-stopped
networks:
- name: external_services
env:
VIRTUAL_HOST: "{{ services.pinafore.domain }}"
VIRTUAL_PORT: "4002"
LETSENCRYPT_HOST: "{{ services.pinafore.domain }}"
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
labels:
com.centurylinklabs.watchtower.enable: "true"