1
1

copy whole project from another repo

This commit is contained in:
2020-02-18 16:01:28 +01:00
commit aadff671bd
30 changed files with 1290 additions and 0 deletions

32
docker-compose.yml Normal file
View File

@@ -0,0 +1,32 @@
version: "3.7"
services:
db:
image: postgres:12.2-alpine
environment:
POSTGRES_DB: "floplanner_db"
POSTGRES_USER: "floplanner_user"
POSTGRES_PASSWORD: "hhktinWzk1SRg7K6eW0e45hUNLn8ZU"
expose:
- "5432"
volumes:
- ./volumes/db/data:/var/lib/postgresql/data
- /etc/localtime:/etc/localtime:ro
web:
build:
context: .
environment:
DB_HOST: "db"
DB_PORT: "5432"
DB_NAME: "floplanner_db"
DB_USER: "floplanner_user"
DB_PASSWORD: "hhktinWzk1SRg7K6eW0e45hUNLn8ZU"
ports:
- "80:8000"
links:
- db
volumes:
- .:/code
- /etc/localtime:/etc/localtime:ro