generated from geekiot/python-template
Update the daddy docker configurations
This commit is contained in:
parent
9a21373281
commit
22e87e8110
3 changed files with 9 additions and 7 deletions
|
|
@ -1,17 +1,17 @@
|
|||
services:
|
||||
bot:
|
||||
image: ghcr.io/dibuildo/urfu-daddy:0.0.1
|
||||
daddy_core:
|
||||
image: ghcr.io/dibuildo/urfu-daddy:latest
|
||||
command: ["uv", "run", "--no-dev", "./src/main.py"]
|
||||
restart: always
|
||||
depends_on:
|
||||
- database
|
||||
- redis
|
||||
- daddy_database
|
||||
- daddy_redis
|
||||
volumes:
|
||||
- ../logs:/urfu-daddy/logs:rw
|
||||
env_file:
|
||||
- ../.env
|
||||
|
||||
database:
|
||||
daddy_database:
|
||||
container_name: ${POSTGRES_HOST}
|
||||
image: postgres:15
|
||||
ports:
|
||||
|
|
@ -22,7 +22,7 @@ services:
|
|||
POSTGRES_PASSWORD: ${POSTGRES_PASS}
|
||||
POSTGRES_DB: ${POSTGRES_NAME}
|
||||
|
||||
redis:
|
||||
daddy_redis:
|
||||
container_name: ${REDIS_HOST}
|
||||
image: redis:8.2.2
|
||||
command:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue