up(momos)ï¼: add env by 61
This commit is contained in:
parent
9b27f65f66
commit
ef1aefbfae
9
memos/env-61.cnf
Normal file
9
memos/env-61.cnf
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
IMAGE_TAG=neosmemo/memos:0.23.0
|
||||||
|
Volumes_Path=/data/volumes/memos
|
||||||
|
DB_DRIVER=postgres
|
||||||
|
DB_USER=postgres
|
||||||
|
DB_PASSWORD=Kevin0412PgSql
|
||||||
|
DB_DATANAME=memos-db
|
||||||
|
#DB_HOST=192.168.100.184
|
||||||
|
DB_HOST=192.168.10.61
|
||||||
|
DB_POST=5432
|
@ -1,11 +1,14 @@
|
|||||||
# path:: mkdir -pv /data/volumes/memos/data
|
# path:: mkdir -pv /data/volumes/memos/data
|
||||||
# run:: docker compose -p memos --env-file ./memos/env.cfg -f ./memos/prod.stack.yml up -d
|
# run:: docker compose -p memos --env-file ./memos/env.cfg -f ./memos/prod.stack.yml up -d
|
||||||
|
# run:: docker compose -p memos --env-file ./memos/env-61.cfg -f ./memos/prod.stack.yml up -d
|
||||||
|
|
||||||
services:
|
services:
|
||||||
memos:
|
memos:
|
||||||
image: ${IMAGE_TAG}
|
image: ${IMAGE_TAG}
|
||||||
volumes:
|
volumes:
|
||||||
- ${Volumes_Path}/data:/var/opt/memos
|
- ${Volumes_Path}/data:/var/opt/memos
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
ports:
|
ports:
|
||||||
- '5230:5230'
|
- '5230:5230'
|
||||||
container_name: memos
|
container_name: memos
|
||||||
|
Loading…
x
Reference in New Issue
Block a user