lab-ansible/roles/apps/templates/compose-files/nginx.yml.j2

18 lines
343 B
Django/Jinja

# code: language=ansible-jinja
version: "3.8"
services:
web:
image: nginx:{{ apps_vars.nginx.version }}
restart: always
networks:
- {{ apps_shared_docker_network }}
ports:
- 8080:8080/tcp
volumes:
- "./data/conf.d:/etc/nginx/conf.d:ro"
networks:
{{ apps_shared_docker_network }}:
external: true