edit env method
All checks were successful
Gitea Actions Demo / build (push) Successful in 10s
Gitea Actions Demo / deploy (push) Successful in 7s

This commit is contained in:
MrLening 2025-03-30 22:37:22 +03:00
parent 9720209660
commit b2ef222182

View File

@ -20,12 +20,8 @@ services:
volumes: volumes:
- /root/telegrambot/volumes/postgres/pgdata:/var/lib/postgresql/data/pgdata - /root/telegrambot/volumes/postgres/pgdata:/var/lib/postgresql/data/pgdata
restart: always restart: always
environment: env_file:
- POSTGRES_DB=postgresdb - .env
- POSTGRES_USER=admin
- POSTGRES_PASSWORD=admin
- PGDATA=/var/lib/postgresql/data/pgdata
- POSTGRES_HOST_AUTH_METHOD=trust
deploy: deploy:
resources: resources:
limits: limits: