add note to docker-compose files and update postgres tag
This commit is contained in:
parent
c077a64484
commit
0d225450da
@ -2,7 +2,7 @@ version: "2.4"
|
|||||||
services:
|
services:
|
||||||
db_recipes:
|
db_recipes:
|
||||||
restart: always
|
restart: always
|
||||||
image: postgres:11-alpine
|
image: postgres:15-alpine
|
||||||
volumes:
|
volumes:
|
||||||
- ${POSTGRES_DATA_DIR:-./postgresql}:/var/lib/postgresql/data
|
- ${POSTGRES_DATA_DIR:-./postgresql}:/var/lib/postgresql/data
|
||||||
env_file:
|
env_file:
|
||||||
@ -22,6 +22,7 @@ services:
|
|||||||
- ./.env
|
- ./.env
|
||||||
volumes:
|
volumes:
|
||||||
- staticfiles:/opt/recipes/staticfiles
|
- staticfiles:/opt/recipes/staticfiles
|
||||||
|
# Do not make this a bind mount, see https://docs.tandoor.dev/install/docker/#volumes-vs-bind-mounts
|
||||||
- nginx_config:/opt/recipes/nginx/conf.d
|
- nginx_config:/opt/recipes/nginx/conf.d
|
||||||
- ${MEDIA_FILES_DIR:-./mediafiles}:/opt/recipes/mediafiles
|
- ${MEDIA_FILES_DIR:-./mediafiles}:/opt/recipes/mediafiles
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -41,6 +42,7 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- web_recipes
|
- web_recipes
|
||||||
volumes:
|
volumes:
|
||||||
|
# Do not make this a bind mount, see https://docs.tandoor.dev/install/docker/#volumes-vs-bind-mounts
|
||||||
- nginx_config:/etc/nginx/conf.d:ro
|
- nginx_config:/etc/nginx/conf.d:ro
|
||||||
- staticfiles:/static:ro
|
- staticfiles:/static:ro
|
||||||
- ${MEDIA_FILES_DIR:-./mediafiles}:/media:ro
|
- ${MEDIA_FILES_DIR:-./mediafiles}:/media:ro
|
||||||
|
@ -2,7 +2,7 @@ version: "3"
|
|||||||
services:
|
services:
|
||||||
db_recipes:
|
db_recipes:
|
||||||
restart: always
|
restart: always
|
||||||
image: postgres:11-alpine
|
image: postgres:15-alpine
|
||||||
volumes:
|
volumes:
|
||||||
- ./postgresql:/var/lib/postgresql/data
|
- ./postgresql:/var/lib/postgresql/data
|
||||||
env_file:
|
env_file:
|
||||||
@ -17,6 +17,7 @@ services:
|
|||||||
- ./.env
|
- ./.env
|
||||||
volumes:
|
volumes:
|
||||||
- staticfiles:/opt/recipes/staticfiles
|
- staticfiles:/opt/recipes/staticfiles
|
||||||
|
# Do not make this a bind mount, see https://docs.tandoor.dev/install/docker/#volumes-vs-bind-mounts
|
||||||
- nginx_config:/opt/recipes/nginx/conf.d
|
- nginx_config:/opt/recipes/nginx/conf.d
|
||||||
- ./mediafiles:/opt/recipes/mediafiles
|
- ./mediafiles:/opt/recipes/mediafiles
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -32,6 +33,7 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- web_recipes
|
- web_recipes
|
||||||
volumes:
|
volumes:
|
||||||
|
# Do not make this a bind mount, see https://docs.tandoor.dev/install/docker/#volumes-vs-bind-mounts
|
||||||
- nginx_config:/etc/nginx/conf.d:ro
|
- nginx_config:/etc/nginx/conf.d:ro
|
||||||
- staticfiles:/static:ro
|
- staticfiles:/static:ro
|
||||||
- ./mediafiles:/media:ro
|
- ./mediafiles:/media:ro
|
||||||
|
@ -2,7 +2,7 @@ version: "3"
|
|||||||
services:
|
services:
|
||||||
db_recipes:
|
db_recipes:
|
||||||
restart: always
|
restart: always
|
||||||
image: postgres:11-alpine
|
image: postgres:15-alpine
|
||||||
volumes:
|
volumes:
|
||||||
- ./postgresql:/var/lib/postgresql/data
|
- ./postgresql:/var/lib/postgresql/data
|
||||||
env_file:
|
env_file:
|
||||||
@ -15,6 +15,7 @@ services:
|
|||||||
- ./.env
|
- ./.env
|
||||||
volumes:
|
volumes:
|
||||||
- staticfiles:/opt/recipes/staticfiles
|
- staticfiles:/opt/recipes/staticfiles
|
||||||
|
# Do not make this a bind mount, see https://docs.tandoor.dev/install/docker/#volumes-vs-bind-mounts
|
||||||
- nginx_config:/opt/recipes/nginx/conf.d
|
- nginx_config:/opt/recipes/nginx/conf.d
|
||||||
- ./mediafiles:/opt/recipes/mediafiles
|
- ./mediafiles:/opt/recipes/mediafiles
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -30,6 +31,7 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- web_recipes
|
- web_recipes
|
||||||
volumes:
|
volumes:
|
||||||
|
# Do not make this a bind mount, see https://docs.tandoor.dev/install/docker/#volumes-vs-bind-mounts
|
||||||
- nginx_config:/etc/nginx/conf.d:ro
|
- nginx_config:/etc/nginx/conf.d:ro
|
||||||
- staticfiles:/static:ro
|
- staticfiles:/static:ro
|
||||||
- ./mediafiles:/media:ro
|
- ./mediafiles:/media:ro
|
||||||
|
@ -2,7 +2,7 @@ version: "3"
|
|||||||
services:
|
services:
|
||||||
db_recipes:
|
db_recipes:
|
||||||
restart: always
|
restart: always
|
||||||
image: postgres:11-alpine
|
image: postgres:15-alpine
|
||||||
volumes:
|
volumes:
|
||||||
- ./postgresql:/var/lib/postgresql/data
|
- ./postgresql:/var/lib/postgresql/data
|
||||||
env_file:
|
env_file:
|
||||||
@ -17,6 +17,7 @@ services:
|
|||||||
- ./.env
|
- ./.env
|
||||||
volumes:
|
volumes:
|
||||||
- staticfiles:/opt/recipes/staticfiles
|
- staticfiles:/opt/recipes/staticfiles
|
||||||
|
# Do not make this a bind mount, see https://docs.tandoor.dev/install/docker/#volumes-vs-bind-mounts
|
||||||
- nginx_config:/opt/recipes/nginx/conf.d
|
- nginx_config:/opt/recipes/nginx/conf.d
|
||||||
- ./mediafiles:/opt/recipes/mediafiles
|
- ./mediafiles:/opt/recipes/mediafiles
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -30,6 +31,7 @@ services:
|
|||||||
env_file:
|
env_file:
|
||||||
- ./.env
|
- ./.env
|
||||||
volumes:
|
volumes:
|
||||||
|
# Do not make this a bind mount, see https://docs.tandoor.dev/install/docker/#volumes-vs-bind-mounts
|
||||||
- nginx_config:/etc/nginx/conf.d:ro
|
- nginx_config:/etc/nginx/conf.d:ro
|
||||||
- staticfiles:/static:ro
|
- staticfiles:/static:ro
|
||||||
- ./mediafiles:/media:ro
|
- ./mediafiles:/media:ro
|
||||||
|
@ -69,7 +69,7 @@ services:
|
|||||||
db_recipes:
|
db_recipes:
|
||||||
restart: always
|
restart: always
|
||||||
container_name: db_recipes
|
container_name: db_recipes
|
||||||
image: postgres:11-alpine
|
image: postgres:15-alpine
|
||||||
volumes:
|
volumes:
|
||||||
- ./recipes/db:/var/lib/postgresql/data
|
- ./recipes/db:/var/lib/postgresql/data
|
||||||
env_file:
|
env_file:
|
||||||
|
@ -80,7 +80,7 @@ Basic guide to setup Docker and Portainer TrueNAS Core.
|
|||||||
services:
|
services:
|
||||||
db_recipes:
|
db_recipes:
|
||||||
restart: always
|
restart: always
|
||||||
image: postgres:11-alpine
|
image: postgres:15-alpine
|
||||||
volumes:
|
volumes:
|
||||||
- ./postgresql:/var/lib/postgresql/data
|
- ./postgresql:/var/lib/postgresql/data
|
||||||
env_file:
|
env_file:
|
||||||
@ -93,7 +93,8 @@ services:
|
|||||||
- stack.env
|
- stack.env
|
||||||
volumes:
|
volumes:
|
||||||
- staticfiles:/opt/recipes/staticfiles
|
- staticfiles:/opt/recipes/staticfiles
|
||||||
- nginx_config:/opt/recipes/nginx/conf.d
|
# Do not make this a bind mount, see https://docs.tandoor.dev/install/docker/#volumes-vs-bind-mounts
|
||||||
|
- nginx_config:/opt/recipes/nginx/conf.d
|
||||||
- ./mediafiles:/opt/recipes/mediafiles
|
- ./mediafiles:/opt/recipes/mediafiles
|
||||||
depends_on:
|
depends_on:
|
||||||
- db_recipes
|
- db_recipes
|
||||||
@ -108,6 +109,7 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- web_recipes
|
- web_recipes
|
||||||
volumes:
|
volumes:
|
||||||
|
# Do not make this a bind mount, see https://docs.tandoor.dev/install/docker/#volumes-vs-bind-mounts
|
||||||
- nginx_config:/etc/nginx/conf.d:ro
|
- nginx_config:/etc/nginx/conf.d:ro
|
||||||
- staticfiles:/static
|
- staticfiles:/static
|
||||||
- ./mediafiles:/media
|
- ./mediafiles:/media
|
||||||
|
Loading…
Reference in New Issue
Block a user