backend:
build:
context: ./backend
# productionを指定する
command: bash -c "bundle exec rails s -p 3000 -e production -b '0.0.0.0'"
volumes:
- "./backend:/app"
environment:
POSTGRES_USER: $POSTGRES_USER
POSTGRES_PASSWORD: $POSTGRES_PASSWORD
RAILS_MASTER_KEY: sdfhsfdhsdddddgdgdfgdgdgdfgdfgdfg
SECRET_KEY_BASE: sdfhsfdhsdddddgdgdfgdgdgdfgdfgdfg
#backend/config/credentials/production.keyの中身↑
ports:
- "$VUE_APP_API_PORT:3000"
stdin_open: true
tty: true
depends_on:
- db
More than 1 year has passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme