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.
29 lines
663 B
29 lines
663 B
3 years ago
|
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
|
||
|
#volumes:
|
||
|
# mb-psql-volume:
|
||
|
# name: mb-psql-data
|
||
|
networks:
|
||
|
benchmark-postgres-net:
|
||
|
ipam:
|
||
|
driver: default
|
||
|
config:
|
||
|
- subnet: 172.40.113.0/24
|