Skip to content

Commit

Permalink
new example
Browse files Browse the repository at this point in the history
  • Loading branch information
cneira committed Apr 9, 2020
1 parent f6f0f3d commit 7bed7bb
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions examples/docker-compose.nomad
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
job "wordpress-blog" {
job "blog" {
datacenters = ["dc1"]
type = "service"

Expand Down Expand Up @@ -41,7 +41,15 @@ job "wordpress-blog" {
},
]

Networks = [
FileSystems = [
{
Dir = "/var/lib/mysql"
Special = "/home/cneira/docker/volumes/mysql"
Type = "lofs"
},
]

Networks = [
{
Physical = "vnic2"
AllowedAddress = "192.168.1.120/24"
Expand Down Expand Up @@ -84,7 +92,15 @@ job "wordpress-blog" {
},
]

Networks = [
FileSystems = [
{
Dir = "/var/www/html/wp-content"
Special = "/home/cneira/docker/volumes/wpress/wp-content"
Type = "lofs"
},
]

Networks = [
{
Physical = "vnic1"
AllowedAddress = "192.168.1.121/24"
Expand Down

0 comments on commit 7bed7bb

Please sign in to comment.