publiccode.si/playbook.yml

24 lines
648 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-09-12 09:56:30 +02:00
- "/srv/pmpc-cred:/srv/cred:ro"
2017-09-11 22:14:19 +02:00