From b5be87961a20dd8b8394771afb0619f81e634766 Mon Sep 17 00:00:00 2001 From: Francesco Antognazza Date: Wed, 15 Feb 2023 14:02:56 +0100 Subject: [PATCH] Fix port mapping due to YAML interpreting numbers with a colon as base 60 numbers --- containers/gitea/tasks.yml | 4 ++-- containers/traefik/tasks.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/containers/gitea/tasks.yml b/containers/gitea/tasks.yml index 2399f5e..ef4595e 100644 --- a/containers/gitea/tasks.yml +++ b/containers/gitea/tasks.yml @@ -98,8 +98,8 @@ name: gitea image: docker.io/gitea/gitea:latest state: present - ports: - - 22:22 + publish: + - "22:22" network: - traefik-gitea - mariadb-gitea diff --git a/containers/traefik/tasks.yml b/containers/traefik/tasks.yml index 3c3c0a5..28611dd 100644 --- a/containers/traefik/tasks.yml +++ b/containers/traefik/tasks.yml @@ -94,9 +94,9 @@ name: traefik image: docker.io/traefik:latest state: present - ports: - - 80:80 - - 443:443 + publish: + - "80:80" + - "443:443" security_opt: - label=type:container_runtime_t volume: