Created
October 20, 2015 20:26
-
-
Save ned1313/94070e1fde8151d6ab62 to your computer and use it in GitHub Desktop.
Vagrant for Photon and Docker Compose for WordPress
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
wordpress: | |
image: wordpress | |
links: | |
- db:mysql | |
ports: | |
- 8080:80 | |
db: | |
image: mariadb | |
environment: | |
MYSQL_ROOT_PASSWORD: Pa55w0rd |
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
Vagrant.configure(2) do |config| | |
config.vm.box = "vmware/photon" | |
config.vm.provider "vmware_desktop" do |v| | |
v.vmx["memsize"] = "2048" | |
v.vmx["numvcpus"] = "2" | |
v.vmx["cpuid.coresPerSocket"] = "1" | |
end | |
config.vm.hostname = "dockerhost-prime" | |
config.vm.network "private_network", ip: "10.100.220.200" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment