Created
July 13, 2022 18:45
-
-
Save railson-ferreira/41a43ef9b6fcba76b705907a1ec392c0 to your computer and use it in GitHub Desktop.
Docker Compose for Local Network Https Development ( DNS Server + Bore )
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '2' | |
| services: | |
| dns: | |
| restart: always | |
| image: strm/dnsmasq | |
| volumes: | |
| - ./dnsmasq.conf:/etc/dnsmasq.conf | |
| ports: | |
| - "53:53/udp" | |
| cap_add: | |
| - NET_ADMIN | |
| bore: | |
| restart: always | |
| image: ekzhang/bore | |
| command: | |
| - "server" | |
| ports: | |
| - "7835:7835/tcp" | |
| - "3000-3999:3000-3999/tcp" |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You also need to create a
dnsmasq.conffile as shown in the example below:You must have a self-signed certificate to use https