removed root docker compose
This commit is contained in:
parent
bf07fc7437
commit
9f8b93732f
2
.gitignore
vendored
2
.gitignore
vendored
@ -30,8 +30,6 @@ var/
|
|||||||
*.manifest
|
*.manifest
|
||||||
*.spec
|
*.spec
|
||||||
|
|
||||||
./docker-compose.yml
|
|
||||||
|
|
||||||
# Installer logs
|
# Installer logs
|
||||||
pip-log.txt
|
pip-log.txt
|
||||||
pip-delete-this-directory.txt
|
pip-delete-this-directory.txt
|
||||||
|
@ -1,43 +0,0 @@
|
|||||||
version: "3"
|
|
||||||
services:
|
|
||||||
db_recipes:
|
|
||||||
restart: always
|
|
||||||
image: "postgres:11-alpine"
|
|
||||||
volumes:
|
|
||||||
- ./postgresql:/var/lib/postgresql/data
|
|
||||||
env_file:
|
|
||||||
- ./.env
|
|
||||||
networks:
|
|
||||||
- default
|
|
||||||
|
|
||||||
web_recipes:
|
|
||||||
build: .
|
|
||||||
restart: always
|
|
||||||
env_file:
|
|
||||||
- ./.env
|
|
||||||
command: "gunicorn --bind 0.0.0.0:8080 recipes.wsgi"
|
|
||||||
volumes:
|
|
||||||
- .:/Recipes
|
|
||||||
depends_on:
|
|
||||||
- db_recipes
|
|
||||||
networks:
|
|
||||||
- default
|
|
||||||
|
|
||||||
nginx_recipes:
|
|
||||||
image: "nginx"
|
|
||||||
restart: always
|
|
||||||
env_file:
|
|
||||||
- ./.env
|
|
||||||
volumes:
|
|
||||||
- ./nginx/conf.d:/etc/nginx/conf.d
|
|
||||||
- ./staticfiles:/static
|
|
||||||
- ./mediafiles:/media
|
|
||||||
networks:
|
|
||||||
- default
|
|
||||||
- nginx-proxy
|
|
||||||
|
|
||||||
networks:
|
|
||||||
default:
|
|
||||||
nginx-proxy:
|
|
||||||
external:
|
|
||||||
name: nginx-proxy
|
|
Loading…
Reference in New Issue
Block a user