aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docker-compose.yaml7
1 files changed, 6 insertions, 1 deletions
diff --git a/docker-compose.yaml b/docker-compose.yaml
index febe6a3..0b7a170 100644
--- a/docker-compose.yaml
+++ b/docker-compose.yaml
@@ -5,7 +5,7 @@ services:
image: gitlab-postgres
volumes:
- pgdata:/var/lib/postgresql
- - pgsocket:/run/postgresql
+ - pgsocket:/run/postgresql/.s.PGSQL.5432
networks:
- gitlab-net
@@ -14,6 +14,11 @@ services:
image: redis:alpine
networks:
- gitlab-net
+ gitlab:
+ container_name: gitlab
+ image: gitlab
+ volumes:
+ - pgsocket:/run/postgresql/.s.PGSQL.5432
networks:
gitlab-net: