mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
hugochat volume
This commit is contained in:
parent
71949b7ea0
commit
b849b19250
2 changed files with 11 additions and 1 deletions
|
|
@ -84,6 +84,14 @@
|
|||
- db.env
|
||||
- server.env
|
||||
#####
|
||||
# APP: hugo-chat, /apps/hugo-chat
|
||||
#####
|
||||
- name: Create /apps/hugo-chat
|
||||
ansible.builtin.file:
|
||||
path: /apps/hugo-chat
|
||||
state: directory
|
||||
mode: "u=rwx,g=rx,o=rx"
|
||||
#####
|
||||
# APP: bisect-rustc-servce, /apps/bisect-rustc-service
|
||||
#####
|
||||
- name: Create /apps/bisect-rustc-service
|
||||
|
|
|
|||
|
|
@ -43,9 +43,11 @@ services:
|
|||
container_name: hugo-chat-db
|
||||
image: "postgres:latest"
|
||||
restart: always
|
||||
# no ports bound, accessed via the hugo-chat network
|
||||
volumes:
|
||||
- "/apps/hugo-chat/data:/var/lib/postgresql/data"
|
||||
environment:
|
||||
POSTGRES_PASSWORD: "${HUGO_CHAT_DB_PASSWORD}"
|
||||
PGDATA: "/var/lib/postgresql/data/pgdata"
|
||||
networks:
|
||||
- hugo-chat
|
||||
hugo_chat_server:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue