Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3.1'
- services:
- db:
- image: mariadb
- restart: always
- environment:
- - MYSQL_ROOT_PASSWORD=mypassword
- - MYSQL_TCP_PORT=33030
- - MYSQL_UNIT_PORT=33020
- ports:
- - "33020:33020"
- FROM: mariadb: 10.3.14
- COPY mydbscript.sql /docker-entrypoint-initdb.d/
- EXPOSE 33020
- CMD ["mysqld"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement