diff --git a/fighter/config/gitea/docker-compose.yml b/fighter/config/gitea/docker-compose.yml index fe3325c..15b1b07 100644 --- a/fighter/config/gitea/docker-compose.yml +++ b/fighter/config/gitea/docker-compose.yml @@ -1,6 +1,6 @@ version: "3" services: - server: + gitea: image: gitea/gitea:1.21.0 container_name: gitea_gitea env_file: @@ -8,6 +8,7 @@ services: restart: always networks: - web + - gitea volumes: - $DOCKER_DATA/gitea:/data - /etc/timezone:/etc/timezone:ro @@ -21,6 +22,21 @@ services: - traefik.http.routers.gitea.middlewares=securityheaders@file - traefik.http.routers.gitea.service=gitea - traefik.http.services.gitea.loadbalancer.server.port=3000 + + postgres: + image: postgres:13 + container_name: gitea_postgres + networks: + - gitea + env_file: + - postgres_secrets.env + volumes: + - postgres_data:/var/lib/postgresql/data + networks: web: - external: true \ No newline at end of file + external: true + gitea: + +volumes: + postgres_data: \ No newline at end of file