Move gitlab to ZFS pool

This commit is contained in:
Jake Howard 2020-08-30 10:19:57 +01:00
parent 0ce15cb4d8
commit 5940b6970a
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -12,8 +12,8 @@ services:
{% endfilter %} {% endfilter %}
volumes: volumes:
- ./config:/etc/gitlab - /mnt/tank/app-data/gitlab/config:/etc/gitlab
- ./data:/var/opt/gitlab - /mnt/tank/app-data/gitlab/data:/var/opt/gitlab
tmpfs: tmpfs:
- /var/log/gitlab - /var/log/gitlab
restart: unless-stopped restart: unless-stopped
@ -32,7 +32,7 @@ services:
image: postgres:12-alpine image: postgres:12-alpine
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ./postgres:/var/lib/postgresql/data - /mnt/tank/dbs/postgres/gitlab:/var/lib/postgresql/data
environment: environment:
- POSTGRES_PASSWORD=gitlab - POSTGRES_PASSWORD=gitlab
- POSTGRES_USER=gitlab - POSTGRES_USER=gitlab
@ -42,4 +42,4 @@ services:
image: redis:6-alpine image: redis:6-alpine
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ./redis:/data - /mnt/tank/dbs/redis/gitlab:/data