Advertisement
mheezand

docker-compose.yml (with docker mongodb)

Dec 19th, 2024
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.46 KB | Source Code | 0 0
  1. version: "3.9"
  2.  
  3. services:
  4.   userge:
  5.     image: mheezand/userge-loader:latest
  6.     restart: on-failure
  7.     depends_on:
  8.      - mongo
  9.     environment:
  10.       DATABASE_URL: mongodb://root:example@mongo
  11.     env_file:
  12.      - config.env
  13.  
  14.   mongo:
  15.     image: mongo
  16.     restart: always
  17.     volumes:
  18.      - mongo_userge:/data/db
  19.     environment:
  20.       MONGO_INITDB_ROOT_USERNAME: root
  21.       MONGO_INITDB_ROOT_PASSWORD: example
  22.  
  23. volumes:
  24.  mongo_userge:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement