ansible/roles/awx/templates/d.o

62 lines
2.2 KiB
Plaintext
Raw Normal View History

2021-06-10 14:41:21 +02:00
---
version: '2.1'
services:
# Primary AWX Development Container
awx_1:
hostname: awx1920_1
networks:
ansible-net:
aliases:
- awx1920_1
traefik-net:
aliases:
- awx1920_1
restart: unless-stopped
environment:
http_proxy:
https_proxy:
no_proxy:
labels:
- "traefik.enable=true"
- "traefik.http.routers.awx1920_1.service=awx1920_1"
- "traefik.http.routers.awx1920_1.entrypoints=http"
- "traefik.http.routers.awx1920_1.rule=Host(`awx1920.seboto.my-wan.de`) || Host(`awx19.seboto.my-wan.de`)"
- "traefik.http.middlewares.awx1920_1-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.awx1920_1.middlewares=awx1920_1-https-redirect"
- "traefik.http.routers.awx1920_1-secure.entrypoints=https"
- "traefik.http.routers.awx1920_1-secure.rule=Host(`awx1920.seboto.my-wan.de`) || Host(`awx19.seboto.my-wan.de`)"
- "traefik.http.routers.awx1920_1-secure.tls=true"
- "traefik.http.routers.awx1920_1-secure.tls.domains[0].main=awx1920.seboto.my-wan.de"
- "traefik.http.routers.awx1920_1-secure.tls.domains[0].sans=awx19.seboto.my-wan.de"
- "traefik.http.routers.awx1920_1-secure.tls.certresolver=http"
- "traefik.http.routers.awx1920_1-secure.service=awx1920_1"
- "traefik.http.services.awx1920_1.loadbalancer.server.port=8013"
- "traefik.docker.network=traefik_proxy"
# volumes:
# - "/home/awx/certs/ldap.conf:/etc/openldap/ldap.conf:ro"
# - "/etc/pki/ca-trust/source/anchors:/etc/pki/ca-trust/source/anchors:ro"
# - "/etc/pki/ca-trust/extracted:/etc/pki/ca-trust/extracted:ro"
# - "/etc/pki/tls/private/ansible01.warburg.com.pem:/etc/nginx/nginx.key:ro"
# - "/etc/pki/tls/certs/ansible01.warburg.com.crt:/etc/nginx/nginx.crt:ro"
redis_1:
networks:
ansible-net:
aliases:
- redis_1
restart: unless-stopped
postgres:
networks:
ansible-net:
aliases:
- postgres
restart: unless-stopped
volumes:
- "/opt/awxcompose19.2.0/initdb.d:/docker-entrypoint-initdb.d:ro"
networks:
ansible-net:
traefik-net:
external: true
name: traefik_proxy
...