improved example dockerfile
This commit is contained in:
parent
de90c24a78
commit
4fc2abe49c
@ -15,7 +15,6 @@ services:
|
||||
- DB_CONNECTION=s3Browser:hunter2@/s3Browser
|
||||
restart: unless-stopped
|
||||
s3:
|
||||
container_name: s3
|
||||
image: minio/minio
|
||||
environment:
|
||||
- MINIO_ROOT_USER=admin
|
||||
@ -26,6 +25,19 @@ services:
|
||||
command: server /data --console-address ":9001"
|
||||
volumes:
|
||||
- s3_dev:/data
|
||||
db:
|
||||
image: mariadb
|
||||
environment:
|
||||
- MARIADB_ROOT_PASSWORD=hunter2
|
||||
- MARIADB_DATABASE=s3Browser
|
||||
- MARIADB_USER=s3Browser
|
||||
- MARIADB_PASSWORD=hunter2
|
||||
ports:
|
||||
- 3306:3306
|
||||
volumes:
|
||||
- mariadb_dev:/var/lib/mysql
|
||||
volumes:
|
||||
s3_dev:
|
||||
name: s3_dev
|
||||
mariadb_dev:
|
||||
name: mariadb_dev
|
Loading…
Reference in New Issue
Block a user