Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
nextgen-router
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
nextgen-router
Commits
180369e1
Commit
180369e1
authored
May 27, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
arch shit
parent
d46c7595
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
files/dnsmasq/docker-compose.yml.j2
files/dnsmasq/docker-compose.yml.j2
+8
-0
tasks/dnsmasq.yaml
tasks/dnsmasq.yaml
+2
-2
No files found.
files/dnsmasq/docker-compose.yml
→
files/dnsmasq/docker-compose.yml
.j2
View file @
180369e1
...
@@ -2,7 +2,11 @@ version: '2.4'
...
@@ -2,7 +2,11 @@ version: '2.4'
services:
services:
smartdns:
smartdns:
restart: always
restart: always
{% if ansible_architecture == 'aarch64' %}
image: git-registry.mycard.moe/nanahira/docker-smartdns:master-arm
{% else %}
image: git-registry.mycard.moe/nanahira/docker-smartdns
image: git-registry.mycard.moe/nanahira/docker-smartdns
{% endif %}
network_mode: host
network_mode: host
command: -f -x -c /etc/smartdns/smartdns.conf
command: -f -x -c /etc/smartdns/smartdns.conf
volumes:
volumes:
...
@@ -10,7 +14,11 @@ services:
...
@@ -10,7 +14,11 @@ services:
- ./smartdns-cache:/tmp/smartdns-cache
- ./smartdns-cache:/tmp/smartdns-cache
dnsmasq:
dnsmasq:
restart: always
restart: always
{% if ansible_architecture == 'aarch64' %}
image: git-registry.mycard.moe/nanahira/dnsmasq:original-arm
{% else %}
image: git-registry.mycard.moe/nanahira/dnsmasq:original
image: git-registry.mycard.moe/nanahira/dnsmasq:original
{% endif %}
network_mode: host
network_mode: host
cap_add:
cap_add:
- NET_ADMIN
- NET_ADMIN
...
...
tasks/dnsmasq.yaml
View file @
180369e1
...
@@ -9,8 +9,8 @@
...
@@ -9,8 +9,8 @@
-
misc
-
misc
-
smartdns-cache
-
smartdns-cache
-
name
:
dnsmasq docker-compose
-
name
:
dnsmasq docker-compose
copy
:
template
:
src
:
../files/dnsmasq/docker-compose.yml
src
:
../files/dnsmasq/docker-compose.yml
.j2
dest
:
'
{{ansible_user_dir}}/nextgen-router/services/dnsmasq/docker-compose.yml'
dest
:
'
{{ansible_user_dir}}/nextgen-router/services/dnsmasq/docker-compose.yml'
-
name
:
dnsmasq.conf
-
name
:
dnsmasq.conf
template
:
template
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment