Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rafaeldalsenter/f27ab5515ff10f94bf690f9610a07db0 to your computer and use it in GitHub Desktop.
Save rafaeldalsenter/f27ab5515ff10f94bf690f9610a07db0 to your computer and use it in GitHub Desktop.
services:
db-mongo:
image: mongo
container_name: db-stocks
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: root
ports:
- "27017:27017"
networks:
- default_network
robo:
image: rafaeldalsenter/web-scraping-stocks
container_name: robo
environment:
MONGODB_CONNECTIONSTRING: 'mongodb://root:root@db-mongo:27017'
STOCKS: 'VVAR3,CEAB3'
depends_on:
- db-mongo
networks:
- default_network
networks:
default_network:
driver: bridge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment