docker-compose.yml for development
parent
b863d48102
commit
83ee648b5f
@ -0,0 +1,5 @@
|
||||
RAILS_ENV=development
|
||||
BASE_URL=http://localhost:3000
|
||||
SECRET_KEY_BASE=19c70247f4034dd5ce4f3d6bd3b2b592624b63439d518367de9add564fdee9e6b8513f6cec24c2a933a84ea639136786813bb70d3dc4e84a365205a52e5bf1fa
|
||||
LEIN_ROOT=yes
|
||||
BUNDLE_PATH=/bundle
|
@ -0,0 +1,36 @@
|
||||
version: '3'
|
||||
|
||||
volumes:
|
||||
bundle:
|
||||
m2:
|
||||
|
||||
services:
|
||||
postgres:
|
||||
image: postgres
|
||||
container_name: asciinema_dev_postgres
|
||||
|
||||
redis:
|
||||
image: redis
|
||||
container_name: asciinema_dev_redis
|
||||
|
||||
smtp:
|
||||
image: namshi/smtp
|
||||
container_name: asciinema_dev_smtp
|
||||
|
||||
web:
|
||||
build: .
|
||||
image: asciinema/asciinema.org
|
||||
container_name: asciinema_dev_web
|
||||
command: /bin/bash
|
||||
links:
|
||||
- redis
|
||||
- postgres
|
||||
- smtp
|
||||
env_file: .env.development
|
||||
ports:
|
||||
- 3000:3000
|
||||
- 4000:4000
|
||||
volumes:
|
||||
- bundle:/bundle:cached
|
||||
- m2:/root/.m2:cached
|
||||
- ../:/app:cached
|
Loading…
Reference in New Issue