publiccode.si/playbook.yml

23 lines
606 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
2017-09-08 17:16:33 +02:00
command: docker build -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,www.publiccode.eu
LETSENCRYPT_HOST: publiccode.eu,www.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