mirror of
https://github.com/publiclab/mapknitter.git
synced 2025-12-05 16:00:00 +01:00
* Properly link to dockerfile * Remove forego and start passenger directly * Remove Procfile * Attempt to upgrade bundler * Run thru bundler
32 lines
617 B
YAML
32 lines
617 B
YAML
version: '3.3'
|
|
services:
|
|
db:
|
|
image: mysql:5.7
|
|
env_file:
|
|
- mapknitter.env
|
|
volumes:
|
|
- ../mysql:/var/lib/mysql
|
|
- ../dump:/docker-entrypoint-initdb.d
|
|
web:
|
|
build:
|
|
context: .
|
|
dockerfile: ./dockerfiles/${RAILS_ENV:-production}
|
|
ulimits:
|
|
core: 0
|
|
command: [ "sh", "/app/start.sh" ]
|
|
image: mapknitter-dev
|
|
env_file:
|
|
- mapknitter.env
|
|
volumes:
|
|
- .:/app
|
|
- bundle_cache:/usr/local/bundle
|
|
- yarn_cache:/app/node_modules/
|
|
ports:
|
|
- ${PORT:-3000}:${PORT:-3000}
|
|
depends_on:
|
|
- db
|
|
|
|
volumes:
|
|
bundle_cache:
|
|
yarn_cache:
|