forked from DevOps/deploy.stack
modify(dev-dbs): modify dev-dbs stack
This commit is contained in:
@@ -10,10 +10,4 @@ networks:
|
||||
- subnet: 172.22.10.0/24
|
||||
|
||||
volumes:
|
||||
mysql_data:
|
||||
mysql_logs:
|
||||
redis_data:
|
||||
etcd-data:
|
||||
postgresql_data:
|
||||
mongo_data:
|
||||
mongo_configdb:
|
||||
redis_data:
|
||||
@@ -14,4 +14,7 @@ services:
|
||||
- etcd
|
||||
- --data-dir=/etcd-data
|
||||
- --listen-client-urls=http://0.0.0.0:2379
|
||||
- --advertise-client-urls=http://0.0.0.0:2379
|
||||
- --advertise-client-urls=http://0.0.0.0:2379
|
||||
|
||||
volumes:
|
||||
etcd-data:
|
||||
@@ -13,4 +13,8 @@ services:
|
||||
- "27017:27017"
|
||||
networks:
|
||||
DevNet:
|
||||
ipv4_address: 172.22.10.209
|
||||
ipv4_address: 172.22.10.209
|
||||
|
||||
volumes:
|
||||
mongo_data:
|
||||
mongo_configdb:
|
||||
@@ -13,3 +13,7 @@ services:
|
||||
networks:
|
||||
DevNet:
|
||||
ipv4_address: 172.22.10.206
|
||||
|
||||
volumes:
|
||||
mysql_data:
|
||||
mysql_logs:
|
||||
@@ -1,5 +1,8 @@
|
||||
# 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:
|
||||
postgre:
|
||||
|
||||
postgres:
|
||||
image: postgres:16.2-bookworm
|
||||
container_name: Dev-postgre
|
||||
restart: always
|
||||
@@ -11,4 +14,7 @@ services:
|
||||
- "5432:5432"
|
||||
networks:
|
||||
DevNet:
|
||||
ipv4_address: 172.22.10.208
|
||||
ipv4_address: 172.22.10.208
|
||||
|
||||
volumes:
|
||||
postgresql_data:
|
||||
@@ -1,6 +1,6 @@
|
||||
services:
|
||||
redis:
|
||||
image: redis:6-alpine
|
||||
image: redis:7.2.4-alpine
|
||||
container_name: Dev-Redis
|
||||
restart: always
|
||||
command: "--requirepass Kevin#0412&Redis"
|
||||
@@ -10,4 +10,7 @@ services:
|
||||
- "6379:6379"
|
||||
networks:
|
||||
DevNet:
|
||||
ipv4_address: 172.22.10.205
|
||||
ipv4_address: 172.22.10.205
|
||||
|
||||
volumes:
|
||||
redis_data:
|
||||
Reference in New Issue
Block a user