32 lines
658 B
YAML
32 lines
658 B
YAML
|
|
services:
|
||
|
|
app:
|
||
|
|
build:
|
||
|
|
context: ./
|
||
|
|
dockerfile: development.Dockerfile
|
||
|
|
container_name: web_api
|
||
|
|
volumes:
|
||
|
|
- .:/usr/src/app
|
||
|
|
- bundle:/usr/local/bundle
|
||
|
|
ports:
|
||
|
|
- "3005:3005"
|
||
|
|
environment:
|
||
|
|
- HISTFILE=/usr/src/app/log/.bash_history
|
||
|
|
- RAILS_ENV=development
|
||
|
|
- BACLIGHT_SERVER_HOST=baclight
|
||
|
|
- BACLIGHT_SERVER_PORT=3002
|
||
|
|
- PUID=1000
|
||
|
|
- PGID=100
|
||
|
|
- SECRET_KEY_BASE=${SECRET_KEY_BASE}
|
||
|
|
- DEVISE_JWT_SECRET_KEY=${DEVISE_JWT_SECRET_KEY}
|
||
|
|
tty: true
|
||
|
|
stdin_open: true
|
||
|
|
networks:
|
||
|
|
- britton_network
|
||
|
|
|
||
|
|
networks:
|
||
|
|
britton_network:
|
||
|
|
external: true
|
||
|
|
|
||
|
|
volumes:
|
||
|
|
bundle:
|