Skip to content

Commit

Permalink
update docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomascogez committed Jun 23, 2022
1 parent c5aa87b commit 1a5511b
Showing 1 changed file with 6 additions and 35 deletions.
41 changes: 6 additions & 35 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ services:
POSTGRES_PASSWORD: test
POSTGRES_DB: test
labels:
- 'go.dumper.enabled=false'
- 'go.dumper.databaseUser=postgres'
- 'go.dumper.databaseType=pg'

- 'go-dumper.enabled=false'
- 'go-dumper.user=postgres'
- 'go-dumper.type=pg'
pg_dump_1:
image: postgres:latest
environment:
Expand All @@ -33,34 +32,6 @@ services:
POSTGRES_PASSWORD: test
POSTGRES_DB: test
labels:
- 'go.dumper.enabled=true'
- 'go.dumper.databaseUser=postgres'
- 'go.dumper.databaseType=pg'

mysql_dump:
image: mysql:latest
command: --default-authentication-plugin=mysql_native_password
environment:
MYSQL_DATABASE: 'db'
MYSQL_USER: 'user'
MYSQL_ROOT_PASSWORD: root
labels:
- 'go.dumper.enabled=true'
- 'go.dumper.databaseUser=root'
- 'go.dumper.databasePassword=root'
- 'go.dumper.databaseName=db'
- 'go.dumper.databaseType=mysql'

minio:
image: minio/minio
entrypoint: sh
command: -c 'mkdir -p ./data/s3/default && minio server ./data/s3 -console-address ":9001"'
environment:
- MINIO_REGION=eu-west-3
- MINIO_ACCESS_KEY=2OKVH3X1NLIGU9RA4VER
- MINIO_SECRET_KEY=RSrrhXZ6LTejtHyhgZfilWO3On1ltOU8YI1B4Act
ports:
- 9000:9000
- 9001:9001
volumes:
- ./minio:/data/s3
- 'go-dumper.enabled=true'
- 'go-dumper.user=postgres'
- 'go-dumper.type=pg'

0 comments on commit 1a5511b

Please sign in to comment.