gancio-upstream/docker-compose.yml
2019-03-05 01:37:46 +01:00

29 lines
453 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
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