Frappe docker with eks

I want deploy frappe/docker in to aws eks.
Can convert pwd.yml to eks yml.

I want deploy frappe/docker in to aws eks.

pwd.yml
version: “3”

services:
backend:
image: frappe/erpnext:v15.30.0
deploy:
restart_policy:
condition: on-failure
volumes:
– sites:/home/frappe/frappe-bench/sites
– logs:/home/frappe/frappe-bench/logs

configurator:
image: frappe/erpnext:v15.30.0
deploy:
restart_policy:
condition: on-failure
entrypoint:
– bash
– -c
# add redis_socketio for backward compatibility
command:
– >
ls -1 apps > sites/apps.txt;
bench set-config -g db_host $$DB_HOST;
bench set-config -gp db_port $$DB_PORT;
bench set-config -g redis_cache “redis://$$REDIS_CACHE”;
bench set-config -g redis_queue “redis://$$REDIS_QUEUE”;
bench set-config -g redis_socketio “redis://$$REDIS_QUEUE”;
bench set-config -gp socketio_port $$SOCKETIO_PORT;
environment:
DB_HOST: db
DB_PORT: “3306”
REDIS_CACHE: redis-cache:6379
REDIS_QUEUE: redis-queue:6379
SOCKETIO_PORT: “9000”
volumes:
– sites:/home/frappe/frappe-bench/sites
– logs:/home/frappe/frappe-bench/logs

create-site:
image: frappe/erpnext:v15.30.0
deploy:
restart_policy:
condition: on-failure
volumes:
– sites:/home/frappe/frappe-bench/sites
– logs:/home/frappe/frappe-bench/logs
entrypoint:
– bash
– -c
command:
– >
wait-for-it -t 120 db:3306;
wait-for-it -t 120 redis-cache:6379;
wait-for-it -t 120 redis-queue:6379;
export start=date +%s;
until [[ -n grep -hs ^ sites/common_site_config.json | jq -r ".db_host // empty" ]] &&
[[ -n grep -hs ^ sites/common_site_config.json | jq -r ".redis_cache // empty" ]] &&
[[ -n grep -hs ^ sites/common_site_config.json | jq -r ".redis_queue // empty" ]];
do
echo “Waiting for sites/common_site_config.json to be created”;
sleep 5;
if (( date +%s-start > 120 )); then
echo “could not find sites/common_site_config.json with required keys”;
exit 1
fi
done;
echo “sites/common_site_config.json found”;
bench new-site –no-mariadb-socket –admin-password=admin –db-root-password=admin –install-app erpnext –set-default frontend;

db:
image: mariadb:10.6
healthcheck:
test: mysqladmin ping -h wad-db.crgu0a26so4i.eu-west-1.rds.amazonaws.com –password=i[4D_X6dQ*(k:y
interval: 1s
retries: 15
deploy:
restart_policy:
condition: on-failure
command:
– –character-set-server=utf8mb4
– –collation-server=utf8mb4_unicode_ci
– –skip-character-set-client-handshake
– –skip-innodb-read-only-compressed # Temporary fix for MariaDB 10.6
environment:
MYSQL_ROOT_PASSWORD: i[4D_X6dQ*(k:y
volumes:
– db-data:/var/lib/mysql

frontend:
image: frappe/erpnext:v15.30.0
depends_on:
– websocket
deploy:
restart_policy:
condition: on-failure
command:
– nginx-entrypoint.sh
environment:
BACKEND: backend:8000
FRAPPE_SITE_NAME_HEADER: frontend
SOCKETIO: websocket:9000
UPSTREAM_REAL_IP_ADDRESS: 127.0.0.1
UPSTREAM_REAL_IP_HEADER: X-Forwarded-For
UPSTREAM_REAL_IP_RECURSIVE: “off”
PROXY_READ_TIMEOUT: 120
CLIENT_MAX_BODY_SIZE: 50m
volumes:
– sites:/home/frappe/frappe-bench/sites
– logs:/home/frappe/frappe-bench/logs
ports:
– “8000:8000”
– “80:80”

queue-long:
image: frappe/erpnext:v15.30.0
deploy:
restart_policy:
condition: on-failure
command:
– bench
– worker
– –queue
– long,default,short
volumes:
– sites:/home/frappe/frappe-bench/sites
– logs:/home/frappe/frappe-bench/logs

queue-short:
image: frappe/erpnext:v15.30.0
deploy:
restart_policy:
condition: on-failure
command:
– bench
– worker
– –queue
– short,default
volumes:
– sites:/home/frappe/frappe-bench/sites
– logs:/home/frappe/frappe-bench/logs

redis-queue:
image: redis:6.2-alpine
deploy:
restart_policy:
condition: on-failure
volumes:
– redis-queue-data:/data

redis-cache:
image: redis:6.2-alpine
deploy:
restart_policy:
condition: on-failure
volumes:
– redis-cache-data:/data

scheduler:
image: frappe/erpnext:v15.30.0
deploy:
restart_policy:
condition: on-failure
command:
– bench
– schedule
volumes:
– sites:/home/frappe/frappe-bench/sites
– logs:/home/frappe/frappe-bench/logs

websocket:
image: frappe/erpnext:v15.30.0
deploy:
restart_policy:
condition: on-failure
command:
– node
– /home/frappe/frappe-bench/apps/frappe/socketio.js
volumes:
– sites:/home/frappe/frappe-bench/sites
– logs:/home/frappe/frappe-bench/logs

volumes:
db-data:
redis-queue-data:
redis-cache-data:
sites:
logs:

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật