add PYTHONPATH environment variable to Dockerfile
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
services:
|
||||
web:
|
||||
image: git.logidex.ru/fakz9/tbank-api-logidex:latest
|
||||
container_name: tbank-api-logidex-app
|
||||
env_file:
|
||||
- ./src/.env
|
||||
depends_on:
|
||||
@ -15,9 +16,8 @@ services:
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
worker:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: git.logidex.ru/fakz9/tbank-api-logidex:latest
|
||||
container_name: tbank-api-logidex-worker
|
||||
command: arq app.core.worker.settings.WorkerSettings
|
||||
env_file:
|
||||
- ./src/.env
|
||||
@ -31,6 +31,7 @@ services:
|
||||
- appnet
|
||||
db:
|
||||
image: postgres:17
|
||||
container_name: tbank-api-logidex-db
|
||||
env_file:
|
||||
- ./src/.env
|
||||
volumes:
|
||||
@ -39,6 +40,7 @@ services:
|
||||
- appnet
|
||||
redis:
|
||||
image: redis:alpine
|
||||
container_name: tbank-api-logidex-redis
|
||||
volumes:
|
||||
- redis-data:/data
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user