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

playbook.yml 679B

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. restart_policy: always
  14. env:
  15. HUGO_BASE_URL: https://publiccode.eu/
  16. VIRTUAL_HOST: publiccode.eu,www.publiccode.eu
  17. LETSENCRYPT_HOST: publiccode.eu,www.publiccode.eu
  18. LETSENCRYPT_EMAIL: jonas@fsfe.org
  19. volumes:
  20. - "/srv/forms/pmpc:/usr/share/blog/data/signatures:ro"
  21. - "/srv/pmpc-cred:/srv/cred:ro"