Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## clear dns file
echo > /etc/dnsmasq.d/development
echo > /etc/dnsmasq.d/webdevops

if [ ! -f /etc/resolv.conf.original ]; then
cp -a /etc/resolv.conf /etc/resolv.conf.original
Expand All @@ -10,3 +10,8 @@ if [ ! -f /etc/resolv.conf.original ]; then
## set dnsmasq to main nameserver
echo "nameserver 127.0.0.1" > /etc/resolv.conf
fi

# Add own VIRTUAL_HOST as loopback
if [[ -n "${VIRTUAL_HOST+x}" ]]; then
echo "address=/${VIRTUAL_HOST}/127.0.0.1" >> /etc/dnsmasq.d/webdevops
fi
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ priority=15
command = /opt/docker/bin/service.d/dnsmasq.sh
process_name=%(program_name)s
startsecs = 0
autostart = false
autostart = true
autorestart = true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## clear dns file
echo > /etc/dnsmasq.d/development
echo > /etc/dnsmasq.d/webdevops

if [ ! -f /etc/resolv.conf.original ]; then
cp -a /etc/resolv.conf /etc/resolv.conf.original
Expand All @@ -10,3 +10,8 @@ if [ ! -f /etc/resolv.conf.original ]; then
## set dnsmasq to main nameserver
echo "nameserver 127.0.0.1" > /etc/resolv.conf
fi

# Add own VIRTUAL_HOST as loopback
if [[ -n "${VIRTUAL_HOST+x}" ]]; then
echo "address=/${VIRTUAL_HOST}/127.0.0.1" >> /etc/dnsmasq.d/webdevops
fi
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ priority=15
command = /opt/docker/bin/service.d/dnsmasq.sh
process_name=%(program_name)s
startsecs = 0
autostart = false
autostart = true
autorestart = true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## clear dns file
echo > /etc/dnsmasq.d/development
echo > /etc/dnsmasq.d/webdevops

if [ ! -f /etc/resolv.conf.original ]; then
cp -a /etc/resolv.conf /etc/resolv.conf.original
Expand All @@ -10,3 +10,8 @@ if [ ! -f /etc/resolv.conf.original ]; then
## set dnsmasq to main nameserver
echo "nameserver 127.0.0.1" > /etc/resolv.conf
fi

# Add own VIRTUAL_HOST as loopback
if [[ -n "${VIRTUAL_HOST+x}" ]]; then
echo "address=/${VIRTUAL_HOST}/127.0.0.1" >> /etc/dnsmasq.d/webdevops
fi
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ priority=15
command = /opt/docker/bin/service.d/dnsmasq.sh
process_name=%(program_name)s
startsecs = 0
autostart = false
autostart = true
autorestart = true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## clear dns file
echo > /etc/dnsmasq.d/development
echo > /etc/dnsmasq.d/webdevops

if [ ! -f /etc/resolv.conf.original ]; then
cp -a /etc/resolv.conf /etc/resolv.conf.original
Expand All @@ -10,3 +10,8 @@ if [ ! -f /etc/resolv.conf.original ]; then
## set dnsmasq to main nameserver
echo "nameserver 127.0.0.1" > /etc/resolv.conf
fi

# Add own VIRTUAL_HOST as loopback
if [[ -n "${VIRTUAL_HOST+x}" ]]; then
echo "address=/${VIRTUAL_HOST}/127.0.0.1" >> /etc/dnsmasq.d/webdevops
fi
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ priority=15
command = /opt/docker/bin/service.d/dnsmasq.sh
process_name=%(program_name)s
startsecs = 0
autostart = false
autostart = true
autorestart = true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## clear dns file
echo > /etc/dnsmasq.d/development
echo > /etc/dnsmasq.d/webdevops

if [ ! -f /etc/resolv.conf.original ]; then
cp -a /etc/resolv.conf /etc/resolv.conf.original
Expand All @@ -10,3 +10,8 @@ if [ ! -f /etc/resolv.conf.original ]; then
## set dnsmasq to main nameserver
echo "nameserver 127.0.0.1" > /etc/resolv.conf
fi

# Add own VIRTUAL_HOST as loopback
if [[ -n "${VIRTUAL_HOST+x}" ]]; then
echo "address=/${VIRTUAL_HOST}/127.0.0.1" >> /etc/dnsmasq.d/webdevops
fi
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ priority=15
command = /opt/docker/bin/service.d/dnsmasq.sh
process_name=%(program_name)s
startsecs = 0
autostart = false
autostart = true
autorestart = true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## clear dns file
echo > /etc/dnsmasq.d/development
echo > /etc/dnsmasq.d/webdevops

if [ ! -f /etc/resolv.conf.original ]; then
cp -a /etc/resolv.conf /etc/resolv.conf.original
Expand All @@ -10,3 +10,8 @@ if [ ! -f /etc/resolv.conf.original ]; then
## set dnsmasq to main nameserver
echo "nameserver 127.0.0.1" > /etc/resolv.conf
fi

# Add own VIRTUAL_HOST as loopback
if [[ -n "${VIRTUAL_HOST+x}" ]]; then
echo "address=/${VIRTUAL_HOST}/127.0.0.1" >> /etc/dnsmasq.d/webdevops
fi
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ priority=15
command = /opt/docker/bin/service.d/dnsmasq.sh
process_name=%(program_name)s
startsecs = 0
autostart = false
autostart = true
autorestart = true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## clear dns file
echo > /etc/dnsmasq.d/development
echo > /etc/dnsmasq.d/webdevops

if [ ! -f /etc/resolv.conf.original ]; then
cp -a /etc/resolv.conf /etc/resolv.conf.original
Expand All @@ -10,3 +10,8 @@ if [ ! -f /etc/resolv.conf.original ]; then
## set dnsmasq to main nameserver
echo "nameserver 127.0.0.1" > /etc/resolv.conf
fi

# Add own VIRTUAL_HOST as loopback
if [[ -n "${VIRTUAL_HOST+x}" ]]; then
echo "address=/${VIRTUAL_HOST}/127.0.0.1" >> /etc/dnsmasq.d/webdevops
fi
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ priority=15
command = /opt/docker/bin/service.d/dnsmasq.sh
process_name=%(program_name)s
startsecs = 0
autostart = false
autostart = true
autorestart = true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## clear dns file
echo > /etc/dnsmasq.d/development
echo > /etc/dnsmasq.d/webdevops

if [ ! -f /etc/resolv.conf.original ]; then
cp -a /etc/resolv.conf /etc/resolv.conf.original
Expand All @@ -10,3 +10,8 @@ if [ ! -f /etc/resolv.conf.original ]; then
## set dnsmasq to main nameserver
echo "nameserver 127.0.0.1" > /etc/resolv.conf
fi

# Add own VIRTUAL_HOST as loopback
if [[ -n "${VIRTUAL_HOST+x}" ]]; then
echo "address=/${VIRTUAL_HOST}/127.0.0.1" >> /etc/dnsmasq.d/webdevops
fi
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ priority=15
command = /opt/docker/bin/service.d/dnsmasq.sh
process_name=%(program_name)s
startsecs = 0
autostart = false
autostart = true
autorestart = true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## clear dns file
echo > /etc/dnsmasq.d/development
echo > /etc/dnsmasq.d/webdevops

if [ ! -f /etc/resolv.conf.original ]; then
cp -a /etc/resolv.conf /etc/resolv.conf.original
Expand All @@ -10,3 +10,8 @@ if [ ! -f /etc/resolv.conf.original ]; then
## set dnsmasq to main nameserver
echo "nameserver 127.0.0.1" > /etc/resolv.conf
fi

# Add own VIRTUAL_HOST as loopback
if [[ -n "${VIRTUAL_HOST+x}" ]]; then
echo "address=/${VIRTUAL_HOST}/127.0.0.1" >> /etc/dnsmasq.d/webdevops
fi
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ priority=15
command = /opt/docker/bin/service.d/dnsmasq.sh
process_name=%(program_name)s
startsecs = 0
autostart = false
autostart = true
autorestart = true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## clear dns file
echo > /etc/dnsmasq.d/development
echo > /etc/dnsmasq.d/webdevops

if [ ! -f /etc/resolv.conf.original ]; then
cp -a /etc/resolv.conf /etc/resolv.conf.original
Expand All @@ -10,3 +10,8 @@ if [ ! -f /etc/resolv.conf.original ]; then
## set dnsmasq to main nameserver
echo "nameserver 127.0.0.1" > /etc/resolv.conf
fi

# Add own VIRTUAL_HOST as loopback
if [[ -n "${VIRTUAL_HOST+x}" ]]; then
echo "address=/${VIRTUAL_HOST}/127.0.0.1" >> /etc/dnsmasq.d/webdevops
fi
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ priority=15
command = /opt/docker/bin/service.d/dnsmasq.sh
process_name=%(program_name)s
startsecs = 0
autostart = false
autostart = true
autorestart = true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## clear dns file
echo > /etc/dnsmasq.d/development
echo > /etc/dnsmasq.d/webdevops

if [ ! -f /etc/resolv.conf.original ]; then
cp -a /etc/resolv.conf /etc/resolv.conf.original
Expand All @@ -10,3 +10,8 @@ if [ ! -f /etc/resolv.conf.original ]; then
## set dnsmasq to main nameserver
echo "nameserver 127.0.0.1" > /etc/resolv.conf
fi

# Add own VIRTUAL_HOST as loopback
if [[ -n "${VIRTUAL_HOST+x}" ]]; then
echo "address=/${VIRTUAL_HOST}/127.0.0.1" >> /etc/dnsmasq.d/webdevops
fi
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ priority=15
command = /opt/docker/bin/service.d/dnsmasq.sh
process_name=%(program_name)s
startsecs = 0
autostart = false
autostart = true
autorestart = true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## clear dns file
echo > /etc/dnsmasq.d/development
echo > /etc/dnsmasq.d/webdevops

if [ ! -f /etc/resolv.conf.original ]; then
cp -a /etc/resolv.conf /etc/resolv.conf.original
Expand All @@ -10,3 +10,8 @@ if [ ! -f /etc/resolv.conf.original ]; then
## set dnsmasq to main nameserver
echo "nameserver 127.0.0.1" > /etc/resolv.conf
fi

# Add own VIRTUAL_HOST as loopback
if [[ -n "${VIRTUAL_HOST+x}" ]]; then
echo "address=/${VIRTUAL_HOST}/127.0.0.1" >> /etc/dnsmasq.d/webdevops
fi
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ priority=15
command = /opt/docker/bin/service.d/dnsmasq.sh
process_name=%(program_name)s
startsecs = 0
autostart = false
autostart = true
autorestart = true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
Expand Down