Created
August 21, 2020 08:34
-
-
Save mqu/fa2f84359b77932b052c298a0136e64c to your computer and use it in GitHub Desktop.
cryptcheck/docker-compose.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# links: | |
# - https://hub.docker.com/u/aeris22 | |
# - https://cryptcheck.fr/ | |
# - https://github.com/aeris/cryptcheck | |
x-aliases: | |
cryptcheck: &cryptcheck | |
image: aeris22/cryptcheck-rails | |
logging: | |
driver: "json-file" | |
options: | |
max-size: "200k" | |
max-file: "10" | |
restart: unless-stopped | |
links: | |
- mongo | |
depends_on: | |
- mongo | |
environment: | |
PORT: 3000 | |
MONGO_DATABASE: cryptcheck | |
MONGO_URL: mongo:27017 | |
REDIS_URL: redis://redis:6379/0 | |
SECRET_KEY_BASE: 19bc5cb3a5265f4eb36634fb784a859a77aa3c270061fcb8522b53a19d01faea171f851fe01943e682f2945488569b9ea508736f959657d05171a358286d121e | |
version: "3.4" | |
services: | |
redis: | |
image: redis:4.0-alpine | |
networks: | |
- cryptcheck | |
mongo: | |
image: mongo:3.2 | |
networks: | |
- cryptcheck | |
cryptcheck: | |
<<: *cryptcheck | |
networks: | |
- cryptcheck | |
ports: | |
- 127.0.0.1:8915:3000 | |
command: bundle exec rails s | |
cryptcheck-worker: | |
<<: *cryptcheck | |
networks: | |
- cryptcheck | |
command: bundle exec sidekiq | |
networks: | |
cryptcheck: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment