gancio-upstream/docker-compose.yml

26 lines
446 B
YAML
Raw Normal View History

2019-03-05 00:19:13 +01:00
version: '3.5'
services:
db:
image: 'postgres:latest'
environment:
2019-03-22 00:16:12 +01:00
POSTGRES_PASSWORD: docker
POSTGRES_USER: docker
2019-03-05 00:19:13 +01:00
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:
2019-03-22 00:16:12 +01:00
env_file: .env.production
2019-03-05 00:19:13 +01:00
build: .
ports:
- '12300:12300'
2019-03-07 14:59:28 +01:00
volumes:
2019-03-10 01:01:23 +01:00
- ./app/uploads:/usr/src/app/app/uploads
2019-03-05 00:19:13 +01:00
links:
- db