steedos-platform/docker-compose.yml

27 lines
699 B
YAML
Raw Normal View History

2022-07-25 13:36:16 +00:00
# Use root/example as user/password credentials
version: '3.1'
2021-07-08 08:44:10 +00:00
services:
2022-07-25 13:36:16 +00:00
db:
platform: linux/x86_64
image: mysql
# NOTE: use of "mysql_native_password" is not recommended: https://dev.mysql.com/doc/refman/8.0/en/upgrading-from-previous-series.html#upgrade-caching-sha2-password
# (this is just an example, not intended to be a production configuration)
command: --default-authentication-plugin=mysql_native_password
2021-07-08 08:44:10 +00:00
restart: always
environment:
2022-07-25 13:36:16 +00:00
MYSQL_ROOT_PASSWORD: example
2021-07-08 08:44:10 +00:00
ports:
2022-07-25 13:36:16 +00:00
- "3306:3306"
volumes:
- mysql_db_data:/var/lib/mysql
2021-07-08 08:44:10 +00:00
2022-07-25 13:36:16 +00:00
adminer:
image: adminer
2021-07-08 08:44:10 +00:00
restart: always
ports:
2022-07-25 13:36:16 +00:00
- 8080:8080
2021-07-08 08:44:10 +00:00
2022-07-25 13:36:16 +00:00
volumes:
mysql_db_data: