Source files of publiccode.eu, the official website for the "Public Money, Public Code" campaign https://publiccode.eu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

docker-compose.yml 644B

1234567891011121314151617181920212223242526
  1. version: '3'
  2. services:
  3. pmpc:
  4. image: pmpc
  5. container_name: pmpc
  6. restart: always
  7. environment:
  8. - HUGO_BASE_URL=https://publiccode.eu/
  9. - VIRTUAL_HOST=publiccode.eu,www.publiccode.eu
  10. - LETSENCRYPT_HOST=publiccode.eu,www.publiccode.eu
  11. - LETSENCRYPT_EMAIL=contact@fsfe.org
  12. logging:
  13. driver: json-file
  14. options:
  15. max-size: "5m"
  16. max-file: "5"
  17. volumes:
  18. - /srv/pmpc-cred:/srv/cred:ro
  19. connect-bridge:
  20. image: docker:dind
  21. volumes:
  22. - /var/run/docker.sock:/var/run/docker.sock
  23. depends_on:
  24. - pmpc
  25. command: sh -c 'docker network connect bridge pmpc'