You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
728 B
32 lines
728 B
version: '3.7'
|
|
services:
|
|
mb-psql:
|
|
container_name: benchmark-postgres
|
|
ports:
|
|
- '5439:5432'
|
|
environment:
|
|
- POSTGRESQL_USERNAME=p
|
|
- POSTGRESQL_PASSWORD=postgres
|
|
- POSTGRESQL_DATABASE=benchmark
|
|
- PGPASSWORD=postgres
|
|
- POSTGRESQL_POSTGRES_PASSWORD=postgres
|
|
image: bitnami/postgresql
|
|
shm_size: 16g
|
|
# volumes:
|
|
# - 'mb-psql-volume:/bitnami/postgresql'
|
|
networks:
|
|
benchmark-postgres-net:
|
|
ipv4_address: 172.40.113.10
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '5'
|
|
#volumes:
|
|
# mb-psql-volume:
|
|
# name: mb-psql-data
|
|
networks:
|
|
benchmark-postgres-net:
|
|
ipam:
|
|
driver: default
|
|
config:
|
|
- subnet: 172.40.113.0/24
|
|
|