change env file named

This commit is contained in:
2025-02-09 11:47:01 +02:00
parent b0e18606e9
commit d1c49c2f46
5 changed files with 3 additions and 5 deletions

View File

@@ -1,3 +1,4 @@
name: flatnotes
services:
flatnotes:
image: ${FLATNOTES_IMAGE}:${FLATNOTES_TAG}
@@ -14,7 +15,7 @@ services:
PGID: ${GID:-1000}
TZ: ${TZ}
env_file:
- path: ../env/.env.flatnotes
- path: ../env/flatnotes.env
volumes:
- ${DOCKERDIR}/flatnotes:/data
# Optional. Allows you to save the search index in a different location:

View File

@@ -1,5 +1,3 @@
COMPOSE_PROJECT_NAME=flatnotes
FLATNOTES_NETWORk_ID=proxy
FLATNOTES_HOSTNAME=flatnotes

View File

@@ -1,6 +1,6 @@
# Docker Compose v2.20 or greater required to use "include"
include:
#################### NETWORKS ####################
- ../../compose/networks/proxy.yaml
- ../../compose/networks/${FLATNOTES_NETWORk_ID}.yaml
#################### SERVICES ####################
- ../../compose/flatnotes.yaml

View File

@@ -2,6 +2,5 @@
include:
#################### NETWORKS ####################
- ../../compose/networks/proxy.yaml
- ../../compose/networks/socket-proxy.yaml
#################### SERVICES ####################
- ../../compose/flatnotes.yaml