Skip to content

Instantly share code, notes, and snippets.

@suprematis
Last active September 6, 2019 15:54
Show Gist options
  • Save suprematis/470bbb4f646cf2eac7012b99a721ad42 to your computer and use it in GitHub Desktop.
Save suprematis/470bbb4f646cf2eac7012b99a721ad42 to your computer and use it in GitHub Desktop.
Docker compose sample virtual host
version: "3"
services:
server:
build: server/
command: python ./server.py
expose:
- 8888/tcp
environment:
- VIRTUAL_HOST=myvirtualhost.com
- VIRTUAL_PORT=80
network_mode: bridge
volumes:
- source:destination
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment