modify(dev-dbs): modify dev-dbs stack
This commit is contained in:
parent
f71b686827
commit
8273674bab
@ -10,10 +10,4 @@ networks:
|
|||||||
- subnet: 172.22.10.0/24
|
- subnet: 172.22.10.0/24
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
mysql_data:
|
|
||||||
mysql_logs:
|
|
||||||
redis_data:
|
redis_data:
|
||||||
etcd-data:
|
|
||||||
postgresql_data:
|
|
||||||
mongo_data:
|
|
||||||
mongo_configdb:
|
|
@ -15,3 +15,6 @@ services:
|
|||||||
- --data-dir=/etcd-data
|
- --data-dir=/etcd-data
|
||||||
- --listen-client-urls=http://0.0.0.0:2379
|
- --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:
|
@ -14,3 +14,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
DevNet:
|
DevNet:
|
||||||
ipv4_address: 172.22.10.209
|
ipv4_address: 172.22.10.209
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
mongo_data:
|
||||||
|
mongo_configdb:
|
@ -13,3 +13,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
DevNet:
|
DevNet:
|
||||||
ipv4_address: 172.22.10.206
|
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:
|
services:
|
||||||
postgre:
|
|
||||||
|
postgres:
|
||||||
image: postgres:16.2-bookworm
|
image: postgres:16.2-bookworm
|
||||||
container_name: Dev-postgre
|
container_name: Dev-postgre
|
||||||
restart: always
|
restart: always
|
||||||
@ -12,3 +15,6 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
DevNet:
|
DevNet:
|
||||||
ipv4_address: 172.22.10.208
|
ipv4_address: 172.22.10.208
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
postgresql_data:
|
@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
redis:
|
redis:
|
||||||
image: redis:6-alpine
|
image: redis:7.2.4-alpine
|
||||||
container_name: Dev-Redis
|
container_name: Dev-Redis
|
||||||
restart: always
|
restart: always
|
||||||
command: "--requirepass Kevin#0412&Redis"
|
command: "--requirepass Kevin#0412&Redis"
|
||||||
@ -11,3 +11,6 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
DevNet:
|
DevNet:
|
||||||
ipv4_address: 172.22.10.205
|
ipv4_address: 172.22.10.205
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
redis_data:
|
@ -8,3 +8,6 @@ services:
|
|||||||
- /data/volumes/memos/data:/var/opt/memos
|
- /data/volumes/memos/data:/var/opt/memos
|
||||||
ports:
|
ports:
|
||||||
- 5230:5230
|
- 5230:5230
|
||||||
|
environment:
|
||||||
|
- MEMOS_DRIVER=postgres
|
||||||
|
- MEMOS_DSN=postgresql://pgmemos:KevinGunn#0412@192.168.100.184:5432/memos
|
Loading…
x
Reference in New Issue
Block a user