publiccode.si/playbook.yml

21 lines
492 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-06-13 08:54:28 +02:00
command: docker build -t pmpc https://git.fsfe.org/jonas/pmpc.git
- name: run pmpc
docker_container:
name: pmpc
image: pmpc
state: started
restart: yes
ports:
- 1313:80
2017-06-13 08:54:28 +02:00
env:
HUGO_BASE_URL: http://lund.fsfeurope.org:1313/
volumes:
2017-06-13 11:48:55 +02:00
- "/srv/pmpc-signatures:/usr/share/blog/data/signatures:rw"