Версия 0.3.0 #3

Merged
kor-elf merged 11 commits from develop into main 2024-07-27 02:09:14 +05:00
3 changed files with 49 additions and 10 deletions
Showing only changes of commit 3902f5d36f - Show all commits

View File

@ -47,7 +47,8 @@ services:
- ./app/application:/var/www/html
app-redis:
image: redis:3.0-alpine
image: redis:3.0-alpine # docker hub
# image: docker.mdhub.kor-elf.net/kor-elf/redis:3.0-alpine # MDHub
# restart: always
volumes:
- ./redis/data:/data
@ -101,12 +102,14 @@ services:
CONTAINER_ROLE: scheduler
env_file: captcha-app/.env
captcha-redis:
image: redis:3.0-alpine
image: redis:3.0-alpine # docker hub
# image: docker.mdhub.kor-elf.net/kor-elf/redis:3.0-alpine # MDHub
# restart: always
volumes:
- ./captcha-app/redis/data:/data
db:
image: docker.io/mysql:8.0.33
image: docker.io/mysql:8.0.33 # docker hub
# image: docker.mdhub.kor-elf.net/kor-elf/mysql:8.0.33 # MDHub
command: --default-authentication-plugin=mysql_native_password
#restart: always
ports:

View File

@ -1,7 +1,8 @@
version: '3.7'
services:
app:
image: korelf/my-projects-website:0.2.1
# image: korelf/my-projects-website:0.3.0 # docker hub
image: docker.mdhub.kor-elf.net/kor-elf/my-projects-website:0.3.0 # MDHub
# restart: always
depends_on:
- db
@ -16,8 +17,38 @@ services:
volumes:
- ./app/storage/app:/var/www/html/storage/app
- ./app/storage/logs:/var/www/html/storage/logs
queue:
# image: korelf/my-projects-website:0.3.0 # docker hub
image: docker.mdhub.kor-elf.net/kor-elf/my-projects-website:0.3.0 # MDHub
# restart: always
depends_on:
- db
- app-redis
environment:
CONTAINER_ROLE: queue
env_file: app/.env
volumes:
- ./app/storage/app:/var/www/html/storage/app
- ./app/storage/logs:/var/www/html/storage/logs
scheduler:
# image: korelf/my-projects-website:0.3.0 # docker hub
image: docker.mdhub.kor-elf.net/kor-elf/my-projects-website:0.3.0 # MDHub
# restart: always
depends_on:
- db
- app-redis
environment:
CONTAINER_ROLE: scheduler
env_file: app/.env
volumes:
- ./app/storage/app:/var/www/html/storage/app
- ./app/storage/logs:/var/www/html/storage/logs
app-redis:
image: redis:3.0-alpine
image: redis:3.0-alpine # docker hub
# image: docker.mdhub.kor-elf.net/kor-elf/redis:3.0-alpine # MDHub
# restart: always
volumes:
- ./redis/data:/data
@ -71,12 +102,14 @@ services:
CONTAINER_ROLE: scheduler
env_file: captcha-app/.env
captcha-redis:
image: redis:3.0-alpine
image: redis:3.0-alpine # docker hub
# image: docker.mdhub.kor-elf.net/kor-elf/redis:3.0-alpine # MDHub
# restart: always
volumes:
- ./captcha-app/redis/data:/data
db:
image: docker.io/mysql:8.0.33
image: docker.io/mysql:8.0.33 # docker hub
# image: docker.mdhub.kor-elf.net/kor-elf/mysql:8.0.33 # MDHub
command: --default-authentication-plugin=mysql_native_password
#restart: always
ports:

View File

@ -41,7 +41,8 @@ services:
- ./app/application:/var/www/html
app-redis:
image: redis:3.0-alpine
image: redis:3.0-alpine # docker hub
# image: docker.mdhub.kor-elf.net/kor-elf/redis:3.0-alpine # MDHub
volumes:
- ./redis/data:/data
@ -102,11 +103,13 @@ services:
- ./captcha-app/app/storage/app:/var/www/html/storage/app
- ./captcha-app/app/storage/logs:/var/www/html/storage/logs
captcha-redis:
image: redis:3.0-alpine
image: redis:3.0-alpine # docker hub
# image: docker.mdhub.kor-elf.net/kor-elf/redis:3.0-alpine # MDHub
volumes:
- ./captcha-app/redis/data:/data
db:
image: docker.io/mysql:8.0.33
image: docker.io/mysql:8.0.33 # docker hub
# image: docker.mdhub.kor-elf.net/kor-elf/mysql:8.0.33 # MDHub
command: --default-authentication-plugin=mysql_native_password
#restart: always
ports: