Версия 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/application:/var/www/html
app-redis: 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 # restart: always
volumes: volumes:
- ./redis/data:/data - ./redis/data:/data
@ -101,12 +102,14 @@ services:
CONTAINER_ROLE: scheduler CONTAINER_ROLE: scheduler
env_file: captcha-app/.env env_file: captcha-app/.env
captcha-redis: 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 # restart: always
volumes: volumes:
- ./captcha-app/redis/data:/data - ./captcha-app/redis/data:/data
db: 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 command: --default-authentication-plugin=mysql_native_password
#restart: always #restart: always
ports: ports:

View File

@ -1,7 +1,8 @@
version: '3.7' version: '3.7'
services: services:
app: 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 # restart: always
depends_on: depends_on:
- db - db
@ -16,8 +17,38 @@ services:
volumes: volumes:
- ./app/storage/app:/var/www/html/storage/app - ./app/storage/app:/var/www/html/storage/app
- ./app/storage/logs:/var/www/html/storage/logs - ./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: 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 # restart: always
volumes: volumes:
- ./redis/data:/data - ./redis/data:/data
@ -71,12 +102,14 @@ services:
CONTAINER_ROLE: scheduler CONTAINER_ROLE: scheduler
env_file: captcha-app/.env env_file: captcha-app/.env
captcha-redis: 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 # restart: always
volumes: volumes:
- ./captcha-app/redis/data:/data - ./captcha-app/redis/data:/data
db: 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 command: --default-authentication-plugin=mysql_native_password
#restart: always #restart: always
ports: ports:

View File

@ -41,7 +41,8 @@ services:
- ./app/application:/var/www/html - ./app/application:/var/www/html
app-redis: 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: volumes:
- ./redis/data:/data - ./redis/data:/data
@ -102,11 +103,13 @@ services:
- ./captcha-app/app/storage/app:/var/www/html/storage/app - ./captcha-app/app/storage/app:/var/www/html/storage/app
- ./captcha-app/app/storage/logs:/var/www/html/storage/logs - ./captcha-app/app/storage/logs:/var/www/html/storage/logs
captcha-redis: 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: volumes:
- ./captcha-app/redis/data:/data - ./captcha-app/redis/data:/data
db: 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 command: --default-authentication-plugin=mysql_native_password
#restart: always #restart: always
ports: ports: