Guest User

Untitled

a guest
Sep 21st, 2019
105
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: '2.4'
  2. services:
  3. mad:
  4. container_name: pokemon_mad
  5. image: mapadroid/map-a-droid
  6. restart: always
  7. volumes:
  8. - /etc/timezone:/etc/timezone:ro
  9. - /etc/localtime:/etc/localtime:ro
  10. - ./mad/configs/geofences:/usr/src/app/configs/geofences
  11. - ./mad/configs/config.ini:/usr/src/app/configs/config.ini
  12. - ./mad/configs/mappings.json:/usr/src/app/configs/mappings.json
  13. - ./volumes/mad/files:/usr/src/app/files
  14. - ./volumes/mad/logs:/usr/src/app/logs
  15. depends_on:
  16. - rocket-db
  17. networks:
  18. - default
  19. ports:
  20. - "8080:8080"
  21. - "8000:8000"
  22. - "5000:5000"
  23.  
  24. rocket-db:
  25. container_name: pokemon_rocketdb
  26. image: mariadb:10.3
  27. restart: always
  28. command: ['mysqld', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci']
  29. environment:
  30. MYSQL_ROOT_PASSWORD: StrongPassword
  31. MYSQL_DATABASE: rocketdb
  32. MYSQL_USER: rocketdb
  33. MYSQL_PASSWORD: AnotherStrongPassword
  34. TZ: Europe/Berlin
  35. volumes:
  36. - ./volumes/rocketdb:/var/lib/mysql
  37. - ./docker-entrypoint-initdb:/docker-entrypoint-initdb.d
  38. networks:
  39. - default
RAW Paste Data