-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-dev.yml
38 lines (36 loc) · 975 Bytes
/
docker-compose-dev.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
29
30
31
32
33
34
35
36
37
38
# Author: Altair Bueno
version: '3.1'
services:
# username: postgres
# password: mysecretpassword
# Database: UBAY
postgres-dev:
container_name: 'orange-fleet'
image: postgres
ports:
- '5432:5432'
environment:
POSTGRES_PASSWORD: mysecretpassword
POSTGRES_DB: UBAY
volumes:
- ./sql/scheme.sql:/docker-entrypoint-initdb.d/1.sql
- ./sql/test-data.sql:/docker-entrypoint-initdb.d/2.sql
- postgres-data-dev:/var/lib/postgresql/data
minio-dev:
container_name: 'green-bird'
image: minio/minio
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin
ports:
# Admin console
- '127.0.0.1:9001:9001'
# Actual server
- '9000:9000'
volumes:
- minio-data-dev:/data
entrypoint: sh
command: -c 'mkdir -p /data/ubay && /usr/bin/docker-entrypoint.sh server /data --console-address ":9001"'
volumes:
postgres-data-dev:
minio-data-dev: