Move volumes into subfolder (ref #474)
This commit is contained in:
parent
9c1bcd6b26
commit
17e307973f
3 changed files with 7 additions and 15 deletions
8
ansible/templates/docker-compose.yml
vendored
8
ansible/templates/docker-compose.yml
vendored
|
@ -19,7 +19,7 @@ services:
|
||||||
- POSTGRES_PASSWORD={{ postgres_password }}
|
- POSTGRES_PASSWORD={{ postgres_password }}
|
||||||
- POSTGRES_DB=lemmy
|
- POSTGRES_DB=lemmy
|
||||||
volumes:
|
volumes:
|
||||||
- lemmy_db:/var/lib/postgresql/data
|
- ./volumes/postgres:/var/lib/postgresql/data
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
lemmy_pictshare:
|
lemmy_pictshare:
|
||||||
|
@ -27,7 +27,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:8537:80"
|
- "127.0.0.1:8537:80"
|
||||||
volumes:
|
volumes:
|
||||||
- lemmy_pictshare:/usr/share/nginx/html/data
|
- ./volumes/pictshare:/usr/share/nginx/html/data
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
lemmy_iframely:
|
lemmy_iframely:
|
||||||
|
@ -43,7 +43,3 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- POSTFIX_myhostname={{ domain }}
|
- POSTFIX_myhostname={{ domain }}
|
||||||
restart: "always"
|
restart: "always"
|
||||||
volumes:
|
|
||||||
lemmy_db:
|
|
||||||
lemmy_pictshare:
|
|
||||||
lemmy_iframely:
|
|
||||||
|
|
4
docker/dev/docker-compose.yml
vendored
4
docker/dev/docker-compose.yml
vendored
|
@ -8,7 +8,7 @@ services:
|
||||||
- POSTGRES_PASSWORD=password
|
- POSTGRES_PASSWORD=password
|
||||||
- POSTGRES_DB=lemmy
|
- POSTGRES_DB=lemmy
|
||||||
volumes:
|
volumes:
|
||||||
- lemmy_db:/var/lib/postgresql/data
|
- ./volumes/postgres:/var/lib/postgresql/data
|
||||||
restart: always
|
restart: always
|
||||||
lemmy:
|
lemmy:
|
||||||
build:
|
build:
|
||||||
|
@ -26,7 +26,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:8537:80"
|
- "127.0.0.1:8537:80"
|
||||||
volumes:
|
volumes:
|
||||||
- lemmy_pictshare:/usr/share/nginx/html/data
|
- ./volumes/pictshare:/usr/share/nginx/html/data
|
||||||
restart: always
|
restart: always
|
||||||
lemmy_iframely:
|
lemmy_iframely:
|
||||||
image: dogbin/iframely:latest
|
image: dogbin/iframely:latest
|
||||||
|
|
8
docker/prod/docker-compose.yml
vendored
8
docker/prod/docker-compose.yml
vendored
|
@ -8,7 +8,7 @@ services:
|
||||||
- POSTGRES_PASSWORD=password
|
- POSTGRES_PASSWORD=password
|
||||||
- POSTGRES_DB=lemmy
|
- POSTGRES_DB=lemmy
|
||||||
volumes:
|
volumes:
|
||||||
- lemmy_db:/var/lib/postgresql/data
|
- ./volumes/postgres:/var/lib/postgresql/data
|
||||||
restart: always
|
restart: always
|
||||||
lemmy:
|
lemmy:
|
||||||
image: dessalines/lemmy:v0.6.33
|
image: dessalines/lemmy:v0.6.33
|
||||||
|
@ -24,7 +24,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:8537:80"
|
- "127.0.0.1:8537:80"
|
||||||
volumes:
|
volumes:
|
||||||
- lemmy_pictshare:/usr/share/nginx/html/data
|
- ./volumes/pictshare:/usr/share/nginx/html/data
|
||||||
restart: always
|
restart: always
|
||||||
lemmy_iframely:
|
lemmy_iframely:
|
||||||
image: dogbin/iframely:latest
|
image: dogbin/iframely:latest
|
||||||
|
@ -33,7 +33,3 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ./iframely.config.local.js:/iframely/config.local.js:ro
|
- ./iframely.config.local.js:/iframely/config.local.js:ro
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
|
||||||
lemmy_db:
|
|
||||||
lemmy_pictshare:
|
|
||||||
lemmy_iframely:
|
|
||||||
|
|
Reference in a new issue