@ -11,12 +11,27 @@
#
#
# don't do this because new sprockets and manifest.js isn't precompiling to *css, and breaks the container
# don't do this because new sprockets and manifest.js isn't precompiling to *css, and breaks the container
# -- docker-compose run bikebike rake bumbleberry:update --
# -- docker-compose run bikebike rake bumbleberry:update --
#
# Not working - UserMailer.delay(queue: Rails.env.to_s).send(*args)
version : '3'
version : '3'
services:
services:
redis:
container_name : bikebikebike-redis
image : redis:6.2-alpine
ports:
- "6379"
restart : always
logging:
driver : "json-file"
options:
max-size : "10m"
max-file : "3"
#volumes:
# - bikebikebike_db:/var/lib/postgresql/data
db:
db:
container_name : bikebikebike-db
container_name : bikebikebike-db
image : postgres:9.5
image : postgres:9.5
@ -60,6 +75,7 @@ services:
- SMTP_SSL=${SMTP_SSL:-false}
- SMTP_SSL=${SMTP_SSL:-false}
- ADMIN_EMAIL=${ADMIN_EMAIL:-info@bikebike.org}
- ADMIN_EMAIL=${ADMIN_EMAIL:-info@bikebike.org}
- DEFAULT_URL=${DEFAULT_URL:-bikebike.org}
- DEFAULT_URL=${DEFAULT_URL:-bikebike.org}
- REDIS_URL=redis://redis:6379
volumes:
volumes:
- bikebikebike:/app/BikeBike
- bikebikebike:/app/BikeBike
- bikebikebike_bundle:/usr/local/bundle
- bikebikebike_bundle:/usr/local/bundle