diff --git a/infra/containers/docker-compose.yaml b/infra/containers/docker-compose.yaml new file mode 100644 index 0000000..885c3b1 --- /dev/null +++ b/infra/containers/docker-compose.yaml @@ -0,0 +1,25 @@ +version: "3" + +networks: + gitea: + external: false + + +services: + server: + image: gitea/gitea:latest + container_name: gitea + environment: + - USER_UID=1000 + - USER_GID=1000 + restart: always + networks: + - gitea + volumes: + - /opt/containers/gitea:/data + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro + ports: + - "8080:3000" + - "2221:22" +