Commit bbaae7bb authored by nanahira's avatar nanahira

new

parent ed698c58
...@@ -5,7 +5,7 @@ services: ...@@ -5,7 +5,7 @@ services:
image: git-registry.mycard.moe/nanahira/apt-cacher-ng-docker:latest image: git-registry.mycard.moe/nanahira/apt-cacher-ng-docker:latest
dns: {{dns}} dns: {{dns}}
ports: ports:
{%if address %} {% if address %}
- '{{address}}:80:80' - '{{address}}:80:80'
{% else %} {% else %}
- '{{ansible_ssh_host}}:80:80' - '{{ansible_ssh_host}}:80:80'
......
version: '2.4'
services:
kms:
restart: always
image: teddysun/kms
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
{% if address %}
- '{{address}}:1688:1688'
{% else %}
- '{{ansible_ssh_host}}:1688:1688'
{% endif %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment