gancio-upstream/docker-compose.yml
2019-03-07 14:59:28 +01:00

32 lines
549 B
YAML

version: '3.5'
services:
db:
image: 'postgres:latest'
environment:
POSTGRES_PASSWORD: 12345
POSTGRES_USER: postgres
POSTGRES_DB: gancio
volumes:
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
- ./postgres:/var/lib/postgresql/data
app:
build: .
ports:
- '12300:12300'
volumes:
- ./uploads:/usr/src/app/uploads
env_file: .env
environment:
PORT: 12300
DB_HOST: db
DB_PASS: 12345
DB_USER: postgres
DB_NAME: gancio
links:
- db