forked from monotonee/django-forcedfields
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
28 lines (27 loc) · 825 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
# Docker Compose file to create a MariaDB database instance FOR TESTING ONLY.
# Sensitive settings are saved in plain text here and service configurations
# favor convenience over security. DO NOT USE IN PRODUCTION.
#
# Recall that MYSQL_ALLOW_EMPTY_PASSWORD allows empty password for root user.
version: '2'
services:
mariadb:
image: mariadb:latest
ports:
- '127.0.0.1:3306:3306'
volumes:
- ./docker/mariadb/conf.d:/etc/mysql/conf.d:ro
- ./docker/mariadb/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
environment:
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
- MYSQL_PASSWORD=tester
- MYSQL_USER=tester
postgresql:
image: postgres:alpine
ports:
- '127.0.0.1:5432:5432'
environment:
- POSTGRES_PASSWORD=tester
- POSTGRES_USER=tester
...