first commit
This commit is contained in:
+11
-3
@@ -19,7 +19,7 @@ services:
|
||||
retries: 5
|
||||
|
||||
phpmyadmin:
|
||||
image: phpmyadmin:latest
|
||||
image: docker-mirror.liara.ir/phpmyadmin:latest
|
||||
container_name: ai-phpmyadmin
|
||||
environment:
|
||||
PMA_HOST: db
|
||||
@@ -48,11 +48,15 @@ services:
|
||||
restart: unless-stopped
|
||||
|
||||
web:
|
||||
build: .
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
APT_MIRROR: mirror2.chabokan.net
|
||||
container_name: ai-web
|
||||
command: ["python", "manage.py", "runserver", "0.0.0.0:8000"]
|
||||
volumes:
|
||||
- .:/app
|
||||
- ./logs:/app/logs
|
||||
ports:
|
||||
- "8020:8000"
|
||||
env_file:
|
||||
@@ -72,11 +76,15 @@ services:
|
||||
condition: service_started
|
||||
|
||||
celery:
|
||||
build: .
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
APT_MIRROR: mirror.cdn.ir
|
||||
container_name: ai-celery
|
||||
command: celery -A config worker -l info
|
||||
volumes:
|
||||
- .:/app
|
||||
- ./logs:/app/logs
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user