2023-11-08 21:30:41 +00:00
|
|
|
# code: language=ansible-jinja
|
|
|
|
version: "3.8"
|
|
|
|
|
|
|
|
services:
|
|
|
|
web:
|
|
|
|
image: nginx:{{ apps_vars.nginx.version }}
|
|
|
|
restart: always
|
|
|
|
networks:
|
2023-11-12 22:16:53 +00:00
|
|
|
{{ apps_shared_docker_network }}:
|
|
|
|
ipv4_address: {{ apps_vars.nginx.docker_ipv4 }}
|
2023-11-08 21:30:41 +00:00
|
|
|
ports:
|
2023-11-11 18:11:14 +00:00
|
|
|
- {{ internal_ipv4 }}:8080:8080/tcp
|
2023-11-08 21:30:41 +00:00
|
|
|
volumes:
|
|
|
|
- "./data/conf.d:/etc/nginx/conf.d:ro"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
{{ apps_shared_docker_network }}:
|
|
|
|
external: true
|