21 lines
457 B
Django/Jinja
21 lines
457 B
Django/Jinja
{# code: language=ansible-jinja #}
|
|
# THIS FILE IS MANAGED BY ANSIBLE
|
|
|
|
version: "3.8"
|
|
|
|
services:
|
|
web:
|
|
image: nginx:{{ apps_vars.nginx.version }}
|
|
restart: always
|
|
networks:
|
|
{{ apps_shared_docker_network }}:
|
|
ipv4_address: {{ apps_vars.nginx.docker_ipv4 }}
|
|
ports:
|
|
- {{ internal_ipv4 }}:8080:8080/tcp
|
|
volumes:
|
|
- "./data/conf.d:/etc/nginx/conf.d:ro"
|
|
|
|
networks:
|
|
{{ apps_shared_docker_network }}:
|
|
external: true
|