change docker-compose.yaml file
This commit is contained in:
@@ -20,6 +20,8 @@ services:
|
||||
dockerfile: ./docker/Dockerfile.nginx
|
||||
depends_on:
|
||||
- web
|
||||
restart: always
|
||||
|
||||
|
||||
web:
|
||||
networks:
|
||||
@@ -39,6 +41,7 @@ services:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
- 1.1.1.1
|
||||
restart: always
|
||||
|
||||
db:
|
||||
image: postgres:17
|
||||
@@ -50,6 +53,8 @@ services:
|
||||
POSTGRES_DB: ${POSTGRES_DB}
|
||||
volumes:
|
||||
- pd_data:/var/lib/postgresql/data
|
||||
restart: always
|
||||
|
||||
|
||||
redis:
|
||||
networks:
|
||||
@@ -57,6 +62,8 @@ services:
|
||||
image: redis
|
||||
ports:
|
||||
- "6380:6379"
|
||||
restart: always
|
||||
|
||||
|
||||
celery:
|
||||
networks:
|
||||
@@ -69,4 +76,5 @@ services:
|
||||
- redis
|
||||
- web
|
||||
volumes:
|
||||
- "./:/code"
|
||||
- "./:/code"
|
||||
restart: always
|
||||
|
||||
Reference in New Issue
Block a user