Source files of publiccode.eu, the official website for the "Public Money, Public Code" campaign https://publiccode.eu

playbook.yml 648B

123456789101112131415161718192021222324
  1. ---
  2. - hosts: lund.fsfeurope.org
  3. remote_user: root
  4. tasks:
  5. - name: build the pmpc container
  6. command: docker build -t pmpc https://git.fsfe.org/pmpc/website.git
  7. - name: run pmpc
  8. docker_container:
  9. name: pmpc
  10. image: pmpc
  11. state: started
  12. restart: yes
  13. env:
  14. HUGO_BASE_URL: https://publiccode.eu/
  15. VIRTUAL_HOST: publiccode.eu,www.publiccode.eu
  16. LETSENCRYPT_HOST: publiccode.eu,www.publiccode.eu
  17. LETSENCRYPT_EMAIL: jonas@fsfe.org
  18. volumes:
  19. - "/srv/forms/pmpc:/usr/share/blog/data/signatures:ro"
  20. - "/srv/pmpc-cred:/srv/cred:ro"