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: #135 Co-authored-by: reynir <data.coop@reynir.dk> Co-committed-by: reynir <data.coop@reynir.dk>
This commit is contained in:
parent
73bf2d41ba
commit
51c8acc119
|
@ -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 }}"
|
||||
|
|
14
roles/docker/tasks/services/pinafore.yml
Normal file
14
roles/docker/tasks/services/pinafore.yml
Normal 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"
|
Loading…
Reference in a new issue