Update docker-compose.yml

use env
This commit is contained in:
LRVT 2024-01-14 20:35:29 +01:00 committed by GitHub
parent 03fa6e1e07
commit 21469a75a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ services:
volumes: volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/plausible/database/:/var/lib/postgresql/data - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/plausible/database/:/var/lib/postgresql/data
environment: environment:
- POSTGRES_PASSWORD=postgres - POSTGRES_PASSWORD=${PSQL_PASS:-password}
plausible_events_db: plausible_events_db:
container_name: plausible-events-db container_name: plausible-events-db
@ -44,7 +44,7 @@ services:
ports: ports:
- 8000:8000 # WEB UI - 8000:8000 # WEB UI
env_file: env_file:
- plausible-conf.env - .env
#networks: #networks:
# - proxy # - proxy
#labels: #labels: