diff options
author | Emile <hanemile@protonmail.com> | 2019-10-20 13:47:35 +0200 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2019-10-20 13:47:35 +0200 |
commit | f53bf7dc47ed8cd5b252da589abc4a35a4bad0d5 (patch) | |
tree | e3bbe03a29da3aae50e67a2facd74d2e6b571e81 | |
parent | 4b6d370370072d467d95b9cd81a2bf44c8beac94 (diff) |
added the manager
-rw-r--r-- | docker-compose.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 660b471..9ba3e15 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -142,6 +142,25 @@ services: networks: - circus + manager: + image: "registry.darknebu.la/circus/manager:latest" + container_name: "manager" + labels: + - "traefik.enable=true" + - "traefik.http.routers.manager.entrypoints=web" + - "traefik.http.routers.manager.rule=Host(`manager.${HOSTNAME}`)" + - "traefik.http.middlewares.manager-https-redirect.redirectscheme.scheme=https" + - "traefik.http.routers.manager.middlewares=manager-https-redirect" + - "traefik.http.routers.manager-secure.entrypoints=websecure" + - "traefik.http.routers.manager-secure.rule=Host(`manager.${HOSTNAME}`)" + - "traefik.http.routers.manager-secure.tls=true" + - "traefik.http.routers.manager-secure.tls.certresolver=mytlschallenge" + - "traefik.http.routers.manager-secure.service=manager" + - "traefik.http.services.manager.loadbalancer.server.port=8080" + networks: + - circus + - circus_db + postgresql: image: postgresql:12 volumes: |