Skip to content

Commit

Permalink
ci(devenv): update dev env
Browse files Browse the repository at this point in the history
  • Loading branch information
jovijovi committed Dec 5, 2022
1 parent 1e4e0b8 commit dcb083d
Showing 1 changed file with 39 additions and 22 deletions.
61 changes: 39 additions & 22 deletions devenv/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,42 +20,59 @@ services:

mysql:
container_name: devenv_mysql_pedrojs
image: mysql:8.0.26
image: mysql:8.0.30
command: --default-authentication-plugin=mysql_native_password
restart: 'no'
environment:
MYSQL_ROOT_PASSWORD: example
volumes:
- /tmp/dev/pedrojs/mysql_data:/var/lib/mysql
- ./database/mysql/schema.sql:/docker-entrypoint-initdb.d/1_schema.sql
- ./database/mysql/table.sql:/docker-entrypoint-initdb.d/2_table.sql
- ../.data/mysql_data:/var/lib/mysql
- ./init/mysql/schema.sql:/docker-entrypoint-initdb.d/1_schema.sql
- ./init/mysql/table.sql:/docker-entrypoint-initdb.d/2_table.sql
ports:
- "3306:3306"
networks:
- devenv-network-pedrojs

postgres:
container_name: devenv_postgres_pedrojs
image: postgres:13.4
image: postgres:13.8
restart: 'no'
environment:
POSTGRES_PASSWORD: example
volumes:
- /tmp/dev/pedrojs/postgres_data:/var/lib/postgresql/data
- ./database/postgres/database.sql:/docker-entrypoint-initdb.d/1_database.sql
- ./database/postgres/table.sql:/docker-entrypoint-initdb.d/2_table.sql
- ../.data/postgres_data:/var/lib/postgresql/data
- ./init/postgres/database.sql:/docker-entrypoint-initdb.d/1_database.sql
- ./init/postgres/table.sql:/docker-entrypoint-initdb.d/2_table.sql
ports:
- "5432:5432"
networks:
- devenv-network-pedrojs

mongo:
container_name: devenv_mongodb_pedrojs
image: mongo:5.0.14
command: --auth
restart: 'no'
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: example
MONGO_INITDB_DATABASE: test
volumes:
- ../.data/mongodb_data:/data/db
- ./init/mongodb/user.js:/docker-entrypoint-initdb.d/1_user.js
ports:
- "27017:27017"
networks:
- devenv-network-pedrojs

minio1:
container_name: devenv_minio_1_pedrojs
image: minio/minio:latest
restart: 'no'
volumes:
- /tmp/dev/pedrojs/minio/data1-1:/data1
- /tmp/dev/pedrojs/minio/data1-2:/data2
- ../.data/minio/data1-1:/data1
- ../.data/minio/data1-2:/data2
ports:
- "9000:9000"
- "9001:9001"
Expand All @@ -76,8 +93,8 @@ services:
image: minio/minio:latest
restart: 'no'
volumes:
- /tmp/dev/pedrojs/minio/data2-1:/data1
- /tmp/dev/pedrojs/minio/data2-2:/data2
- ../.data/minio/data2-1:/data1
- ../.data/minio/data2-2:/data2
ports:
- "9002:9002"
environment:
Expand All @@ -97,8 +114,8 @@ services:
image: minio/minio:latest
restart: 'no'
volumes:
- /tmp/dev/pedrojs/minio/data3-1:/data1
- /tmp/dev/pedrojs/minio/data3-2:/data2
- ../.data/minio/data3-1:/data1
- ../.data/minio/data3-2:/data2
ports:
- "9003:9003"
environment:
Expand All @@ -118,8 +135,8 @@ services:
image: minio/minio:latest
restart: 'no'
volumes:
- /tmp/dev/pedrojs/minio/data4-1:/data1
- /tmp/dev/pedrojs/minio/data4-2:/data2
- ../.data/minio/data4-1:/data1
- ../.data/minio/data4-2:/data2
ports:
- "9004:9004"
environment:
Expand All @@ -143,7 +160,7 @@ services:
# FOR TEST ONLY
DGRAPH_ALPHA_SECURITY: 'whitelist=0.0.0.0/0'
volumes:
- /tmp/dev/pedrojs/dgraph/zero:/dgraph
- ../.data/dgraph/zero:/dgraph
ports:
- "5080:5080"
- "6080:6080"
Expand All @@ -159,7 +176,7 @@ services:
# FOR TEST ONLY
DGRAPH_ALPHA_SECURITY: 'whitelist=0.0.0.0/0'
volumes:
- /tmp/dev/pedrojs/dgraph/alpha1:/dgraph
- ../.data/dgraph/alpha1:/dgraph
ports:
- "8080:8080"
- "9080:9080"
Expand All @@ -177,7 +194,7 @@ services:
# FOR TEST ONLY
DGRAPH_ALPHA_SECURITY: 'whitelist=0.0.0.0/0'
volumes:
- /tmp/dev/pedrojs/dgraph/alpha2:/dgraph
- ../.data/dgraph/alpha2:/dgraph
ports:
- "8082:8080"
- "9082:9080"
Expand All @@ -196,7 +213,7 @@ services:
# FOR TEST ONLY
DGRAPH_ALPHA_SECURITY: 'whitelist=0.0.0.0/0'
volumes:
- /tmp/dev/pedrojs/dgraph/alpha3:/dgraph
- ../.data/dgraph/alpha3:/dgraph
ports:
- "8083:8080"
- "9083:9080"
Expand Down Expand Up @@ -240,8 +257,8 @@ services:
image: ipfs/go-ipfs:latest
restart: 'no'
volumes:
- /tmp/dev/pedrojs/go-ipfs/export:/export
- /tmp/dev/pedrojs/go-ipfs/data:/data/ipfs
- ../.data/go-ipfs/export:/export
- ../.data/go-ipfs/data:/data/ipfs
ports:
- "4001:4001"
- "4001:4001/udp"
Expand Down

0 comments on commit dcb083d

Please sign in to comment.