publiccode.si/playbook.yml

23 lines
586 B
YAML
Raw Normal View History

2017-06-13 08:54:28 +02:00
---
- hosts: lund.fsfeurope.org
remote_user: root
tasks:
- name: build the pmpc container
command: docker build --no-cache=true -t pmpc https://git.fsfe.org/pmpc/website.git
2017-06-13 08:54:28 +02:00
- name: run pmpc
docker_container:
name: pmpc
image: pmpc
state: started
restart: yes
env:
2017-06-15 13:36:49 +02:00
HUGO_BASE_URL: https://publiccode.eu/
VIRTUAL_HOST: publiccode.eu
2017-06-15 13:40:47 +02:00
LETSENCRYPT_HOST: publiccode.eu
2017-06-15 13:36:49 +02:00
LETSENCRYPT_EMAIL: jonas@fsfe.org
volumes:
- "/srv/forms/pmpc:/usr/share/blog/data/signatures:ro"
2017-08-31 21:01:25 +02:00