Move gitlab to ZFS pool
This commit is contained in:
parent
0ce15cb4d8
commit
5940b6970a
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue