Smaller updates and extions to docker compose files
This commit is contained in:
42
tandoor-recipes/docker-compose.yml
Normal file
42
tandoor-recipes/docker-compose.yml
Normal file
@@ -0,0 +1,42 @@
|
||||
version: "3"
|
||||
services:
|
||||
db_recipes:
|
||||
restart: always
|
||||
image: postgres:11-alpine
|
||||
volumes:
|
||||
- tandoor_postgresql:/var/lib/postgresql/data
|
||||
env_file:
|
||||
- ./.env
|
||||
|
||||
web_recipes:
|
||||
restart: always
|
||||
image: vabene1111/recipes
|
||||
env_file:
|
||||
- ./.env
|
||||
volumes:
|
||||
- tandoor_staticfiles:/opt/recipes/staticfiles
|
||||
- tandoor_nginx_config:/opt/recipes/nginx/conf.d
|
||||
- tandoor_mediafiles:/opt/recipes/mediafiles
|
||||
depends_on:
|
||||
- db_recipes
|
||||
|
||||
nginx_recipes:
|
||||
image: nginx:mainline-alpine
|
||||
restart: always
|
||||
ports:
|
||||
- 8095:80
|
||||
env_file:
|
||||
- ./.env
|
||||
depends_on:
|
||||
- web_recipes
|
||||
volumes:
|
||||
- tandoor_nginx_config:/etc/nginx/conf.d:ro
|
||||
- tandoor_staticfiles:/static:ro
|
||||
- tandoor_mediafiles:/media:ro
|
||||
|
||||
volumes:
|
||||
tandoor_nginx_config:
|
||||
tandoor_staticfiles:
|
||||
tandoor_mediafiles:
|
||||
tandoor_postgresql:
|
||||
|
||||
Reference in New Issue
Block a user