wip changes

This commit is contained in:
vabene1111
2020-03-24 12:57:45 +01:00
parent e3b71d47f4
commit c67342df26
9 changed files with 81 additions and 8 deletions

View File

@@ -1 +0,0 @@
Just run docker-compose up in the root of this repository.

View File

@@ -0,0 +1,22 @@
version: "3"
services:
db_recipes:
restart: always
image: postgres:11-alpine
volumes:
- ./postgresql:/var/lib/postgresql/data
env_file:
- ./.env
web_recipes:
build: .
restart: always
env_file:
- ./.env
volumes:
- ./staticfiles:/opt/recipes/staticfiles
- ./mediafiles:/opt/recipes/mediafiles
ports:
- 80:8080
depends_on:
- db_recipes