wgvirtipd/dev/docker-compose.yaml.tmpl
2024-01-17 22:04:46 +01:00

19 lines
372 B
Cheetah

#jinja2: lstrip_blocks: "True"
---
version: '3.3'
services:
{% for item in keypairs %}
{{ item.item }}:
build:
context: ./server/
volumes:
- ./config/{{ item.item }}-wg0.conf:/etc/wireguard/wg0.conf
networks:
- default
expose:
- 51871
command: [ "sleep", "10000" ]
cap_add: [ "NET_ADMIN" ]
{% endfor %}
networks:
default: