first test with docker

This commit is contained in:
lesion
2019-03-05 00:19:13 +01:00
parent 91579e56dd
commit e10e081563
14 changed files with 106 additions and 95 deletions

27
docker-compose.yml Normal file
View File

@@ -0,0 +1,27 @@
version: '3.5'
services:
db:
image: 'postgres:latest'
environment:
POSTGRES_PASSWORD: 12345
POSTGRES_USER: postgres
POSTGRES_DB: gancio
app:
build: .
ports:
- '12300:12300'
env_file: .env
environment:
PORT: 12300
DB_HOST: db
DB_PASS: 12345
DB_USER: postgres
DB_NAME: gancio
links:
- db