rename env var config file

This commit is contained in:
deflax 2024-04-03 19:43:09 +03:00
parent dc6c3e0a31
commit 8d83529d5e
3 changed files with 4 additions and 4 deletions

2
.gitignore vendored
View file

@ -5,7 +5,7 @@ __pycache
.DS_Store .DS_Store
# ignore env var files # ignore env var files
.env variables.env
# ignore postgresql volumes # ignore postgresql volumes
data/db/* data/db/*

View file

@ -6,7 +6,7 @@ services:
volumes: volumes:
- "./data/db/pgdata:/var/lib/postgresql/data/" - "./data/db/pgdata:/var/lib/postgresql/data/"
env_file: env_file:
- ./.env - ./variables.env
restart: always restart: always
networks: networks:
- internal - internal
@ -16,7 +16,7 @@ services:
volumes: volumes:
- "./data/pgadmin:/var/lib/pgadmin" - "./data/pgadmin:/var/lib/pgadmin"
env_file: env_file:
- ./.env - ./variables.env
user: '$UID:$GID' user: '$UID:$GID'
ports: ports:
- 5050:80 - 5050:80
@ -36,7 +36,7 @@ services:
ports: ports:
- 5000:5000 - 5000:5000
env_file: env_file:
- ./.env - ./variables.env
restart: unless-stopped restart: unless-stopped
networks: networks:
- internal - internal