Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/glacials/splits-io. a speedrunning data store and analysis engine splits.io
Something went wrong. Try again.
splits-io docker-compose.yml
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768version: '2'services: web: build: context: . dockerfile: Dockerfile command: bash -c "rm -f /app/tmp/pids/server.pid && bundle install && bundle exec rails db:migrate && bundle exec rails s -p 3000 -b '0.0.0.0'" volumes: - ./:/app ports: - 3000:3000 depends_on: - db - s3 - webpacker - worker links: - s3:s3.localhost - webpacker:webpacker.localhost environment: - GOOGLE_CLIENT_ID - GOOGLE_CLIENT_SECRET - PATREON_CLIENT_ID - PATREON_CLIENT_SECRET - TWITCH_CLIENT_ID - TWITCH_CLIENT_SECRET stdin_open: true tty: true db: image: postgres volumes: - ./db/init.sql:/docker-entrypoint-initdb.d/10-init.sql s3: image: lphoward/fake-s3 ports: - 4569:4569 expose: - "4569" webpacker: build: . command: bash -c "yarn install && ruby bin/webpack-dev-server" volumes: - .:/app ports: - 3035:3035 expose: - "3035" worker: environment: - GOOGLE_CLIENT_ID - GOOGLE_CLIENT_SECRET - PATREON_CLIENT_ID - PATREON_CLIENT_SECRET - TWITCH_CLIENT_ID - TWITCH_CLIENT_SECRET build: . command: bash -c "rm -f /app/tmp/pids/delayed*.pid && bundle exec rake jobs:work" ports: [] depends_on: - db - s3 links: - s3:s3.localhost stdin_open: true tty: true redis: image: redis