gancio-upstream/docker-compose.yml

33 lines
549 B
YAML
Raw Normal View History

2019-03-05 00:19:13 +01:00
version: '3.5'
services:
db:
image: 'postgres:latest'
environment:
POSTGRES_PASSWORD: 12345
POSTGRES_USER: postgres
POSTGRES_DB: gancio
2019-03-05 01:37:46 +01:00
volumes:
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
2019-03-05 15:19:40 +01:00
- ./postgres:/var/lib/postgresql/data
2019-03-05 00:19:13 +01:00
app:
build: .
ports:
- '12300:12300'
2019-03-07 14:59:28 +01:00
volumes:
- ./uploads:/usr/src/app/uploads
2019-03-05 00:19:13 +01:00
env_file: .env
environment:
PORT: 12300
DB_HOST: db
DB_PASS: 12345
DB_USER: postgres
DB_NAME: gancio
links:
- db