version: '2' services: web: build: . command: bash -c "rm -f tmp/pids/server.pid && bundle exec rails s -p 3000 -b '0.0.0.0'" volumes: - .:/myapp environment: - SERVICE_URL_TEAMALPHA=https://team-alpha.faded.digital - SERVICE_FQDN_TEAMALPHA=team-alpha.faded.digital - SERVICE_URL_TEAMALPHA_3000=https://team-alpha.faded.digital:3000 - SERVICE_FQDN_TEAMALPHA_3000=team-alpha.faded.digital:3000 expose: - "3000"