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