Skip to content

Instantly share code, notes, and snippets.

@flohw
Last active October 25, 2017 08:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flohw/2d4b19b4c3b0ac52eb5941dd5c3574f7 to your computer and use it in GitHub Desktop.
Save flohw/2d4b19b4c3b0ac52eb5941dd5c3574f7 to your computer and use it in GitHub Desktop.
Générer des PDF grâce à wkhtml avec docker
framework:
assets:
base_urls:
- 'http://%assets.request_context.host%'
- 'https://%assets.request_context.host%'
services:
web:
networks:
app_network:
ipv4_address: 10.5.0.5
php:
networks:
app_network:
ipv4_address: 10.5.0.6
extra_hosts:
- "app.tld:10.5.0.5"
networks:
app_network:
driver: bridge
ipam:
config:
- subnet: 10.5.0.0/16
gateway: 10.5.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment