forked from DevOps/deploy.stack
modify(dev-dbs): modify dev-dbs stack
This commit is contained in:
20
dev-dbs/postgres.yml
Normal file
20
dev-dbs/postgres.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
# docker compose -p dbs -f ./dev-dbs/dbs.networks.set.yml -f ./dev-dbs/postgres.yml up
|
||||
# docker compose -p dbs -f ./dev-dbs/dbs.networks.set.yml -f ./dev-dbs/postgres.yml up -d
|
||||
services:
|
||||
|
||||
postgres:
|
||||
image: postgres:16.2-bookworm
|
||||
container_name: Dev-postgre
|
||||
restart: always
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=Kevin#0412&PGSql
|
||||
volumes:
|
||||
- postgresql_data:/var/lib/postgresql/data
|
||||
ports:
|
||||
- "5432:5432"
|
||||
networks:
|
||||
DevNet:
|
||||
ipv4_address: 172.22.10.208
|
||||
|
||||
volumes:
|
||||
postgresql_data:
|
||||
Reference in New Issue
Block a user