Last active
September 6, 2019 15:54
-
-
Save suprematis/470bbb4f646cf2eac7012b99a721ad42 to your computer and use it in GitHub Desktop.
Docker compose sample virtual host
This file contains 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: "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