combine.fm/docker-compose.yml

41 lines
779 B
YAML
Raw Normal View History

2017-07-20 14:31:07 +01:00
version: "2"
services:
app:
build: ./
environment:
2017-10-23 17:58:23 +01:00
DEBUG: "combine.fm*"
2017-07-20 14:31:07 +01:00
VUE_ENV: server
DATABASE_URL:
REDIS_URL:
2017-07-20 14:31:07 +01:00
GOOGLE_EMAIL:
GOOGLE_PASSWORD:
XBOX_CLIENT_ID:
XBOX_CLIENT_SECRET:
YOUTUBE_KEY:
SPOTIFY_CLIENT_ID:
SPOTIFY_CLIENT_SECRET:
volumes:
- ./:/app:cached
ports:
- "3000:3000"
command: yarn run watch-server
2017-10-23 17:58:23 +01:00
worker:
extends: app
2017-10-23 17:58:23 +01:00
build: ./
command: yarn run worker
ports:
- "3001:3000"
2017-07-20 14:31:07 +01:00
database:
2017-10-23 17:58:23 +01:00
image: "postgres:10-alpine"
2017-07-20 14:31:07 +01:00
ports:
- "5432:5432"
environment:
POSTGRES_PASSWORD: "password"
2017-10-23 17:58:23 +01:00
POSTGRES_USER: "combinefm"
POSTGRES_DB: "combinefm"
redis:
image: "redis:4.0.2-alpine"
ports:
- "6379:6379"