Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2.4'
- services:
- mad:
- container_name: pokemon_mad
- image: mapadroid/map-a-droid
- restart: always
- volumes:
- - /etc/timezone:/etc/timezone:ro
- - /etc/localtime:/etc/localtime:ro
- - ./mad/configs/geofences:/usr/src/app/configs/geofences
- - ./mad/configs/config.ini:/usr/src/app/configs/config.ini
- - ./mad/configs/mappings.json:/usr/src/app/configs/mappings.json
- - ./volumes/mad/files:/usr/src/app/files
- - ./volumes/mad/logs:/usr/src/app/logs
- depends_on:
- - rocket-db
- networks:
- - default
- ports:
- - "8080:8080"
- - "8000:8000"
- - "5000:5000"
- rocket-db:
- container_name: pokemon_rocketdb
- image: mariadb:10.3
- restart: always
- command: ['mysqld', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci']
- environment:
- MYSQL_ROOT_PASSWORD: StrongPassword
- MYSQL_DATABASE: rocketdb
- MYSQL_USER: rocketdb
- MYSQL_PASSWORD: AnotherStrongPassword
- TZ: Europe/Berlin
- volumes:
- - ./volumes/rocketdb:/var/lib/mysql
- - ./docker-entrypoint-initdb:/docker-entrypoint-initdb.d
- networks:
- - default
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement