s3browser/docker-compose.yml

43 lines
911 B
YAML

version: "3"
services:
s3browser:
build: .
ports:
- 80:3000
environment:
- S3_ENDPOINT=s3:9000
- S3_ACCESS_KEY=testo
- S3_SECRET_KEY=testotesto
- S3_DISABLE_SSL=true
- ADDRESS=:3000
- VERBOSE=false
- DB_CONNECTION=s3Browser:hunter2@/s3Browser
restart: unless-stopped
s3:
image: minio/minio
environment:
- MINIO_ROOT_USER=admin
- MINIO_ROOT_PASSWORD=hunter22
ports:
- 9000:9000
- 9001:9001
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