remove production yaml files
This commit is contained in:
@@ -4,7 +4,7 @@ services:
|
||||
container_name: nginx
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "80:80"
|
||||
- "8000:80"
|
||||
volumes:
|
||||
- ./nginx/payment.conf:/etc/nginx/conf.d/default.conf
|
||||
- ${BACKEND_PATH}:/var/www/${PROJECT_NAME}
|
||||
@@ -20,7 +20,7 @@ services:
|
||||
- payment
|
||||
|
||||
postgres:
|
||||
image: docker.arvancloud.ir/postgres:18.3-alpine3.23
|
||||
image: postgres:18.2-alpine3.23
|
||||
container_name: pgsql
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
@@ -29,6 +29,11 @@ services:
|
||||
POSTGRES_DB: ${POSTGRES_DB}
|
||||
POSTGRES_USER: ${POSTGRES_USER}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
healthcheck:
|
||||
test: [ "CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}" ]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
volumes:
|
||||
- payment-db:/var/lib/postgresql/data
|
||||
networks:
|
||||
@@ -49,6 +54,15 @@ services:
|
||||
- postgres
|
||||
networks:
|
||||
- payment
|
||||
# logging:
|
||||
# driver: "syslog"
|
||||
# options:
|
||||
# syslog-address: "tcp://host.docker.internal:514"
|
||||
# tag: "laravel-backend"
|
||||
# syslog-facility: "daemon"
|
||||
# max-size: "10m"
|
||||
# mem_limit: 512M
|
||||
# cpus: 1
|
||||
|
||||
volumes:
|
||||
payment-db:
|
||||
|
||||
Reference in New Issue
Block a user