@ -22,7 +22,7 @@
services:
services:
redis:
redis:
container_name : bikebikebike-redis
# container_name: bikebikebike-redis
image : redis:6.2-alpine
image : redis:6.2-alpine
ports:
ports:
- "6379"
- "6379"
@ -38,7 +38,7 @@ services:
# Run sidekiq as it's own process using the same image that bikbike uses!
# Run sidekiq as it's own process using the same image that bikbike uses!
sidekiq:
sidekiq:
image : bikebikebike
image : bikebikebike
container_name : bikebikebike-sidekiq
# container_name: bikebikebike-sidekiq
command : sidekiq -q production
command : sidekiq -q production
environment:
environment:
- REDIS_URL=redis://redis:6379
- REDIS_URL=redis://redis:6379
@ -61,7 +61,7 @@ services:
max-file : "3"
max-file : "3"
db:
db:
container_name : bikebikebike-db
# container_name: bikebikebike-db
image : postgres:9.5
image : postgres:9.5
ports:
ports:
- "5432"
- "5432"
@ -81,7 +81,7 @@ services:
bikebike:
bikebike:
build : .
build : .
image : bikebikebike
image : bikebikebike
container_name : bikebikebike
# container_name: bikebikebike
networks:
networks:
letsencrypt:
letsencrypt:
default :
default :
@ -114,10 +114,10 @@ services:
- db
- db
labels:
labels:
ofelia.enabled : "true" # in rss2email
ofelia.enabled : "true" # in rss2email
ofelia.job-exec.bikebike-job.schedule : "@every 6h"
ofelia.job-exec.bikebikebike -job.schedule : "@every 6h"
ofelia.job-exec.bikebike-job.container : "bikebikebike"
ofelia.job-exec.bikebikebike -job.container : "bikebikebike"
ofelia.job-exec.bikebike-job.command : "/app/BikeBike/caniuse.js"
ofelia.job-exec.bikebikebike -job.command : "/app/BikeBike/caniuse.js"
ofelia.job-exec.bikebike-job.user : "root:root"
ofelia.job-exec.bikebikebike -job.user : "root:root"
restart : always
restart : always
logging:
logging:
driver : "json-file"
driver : "json-file"