diff --git a/.env b/.env index a582bee..bac42d5 100644 --- a/.env +++ b/.env @@ -6,3 +6,5 @@ MYSQL_ROOT_PASSWORD=Pooria3128! MYSQL_USER=ke_webmaster MYSQL_PASSWORD=Pooria3128! DOMAIN=localhost +HTTP_PROXY="https://fodev.org:8118" +HTTPS_PROXY="https://fodev.org:8118" diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 3c9ff65..0000000 --- a/Dockerfile +++ /dev/null @@ -1 +0,0 @@ -RUN apt-get update && apt-get install -y nano zsh git unzip locate diff --git a/docker-compose.yml b/docker-compose.yml index c0531b4..62823d2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,14 +1,5 @@ version: '3' services: - redis: - image: 'bitnami/redis:latest' - environment: - - ALLOW_EMPTY_PASSWORD=yes - networks: - - default - ports: - - "6379:6379" - restart: always mysql: image: mariadb:10.5.9 logging: @@ -25,14 +16,14 @@ services: networks: - default litespeed: - build: - context: . - dockerfile: Dockerfile image: litespeedtech/openlitespeed:${OLS_VERSION}-${PHP_VERSION} logging: driver: none env_file: - .env + build: + context: . + dockerfile: ./docker.Dockerfil volumes: - ./lsws/conf:/usr/local/lsws/conf - ./lsws/admin-conf:/usr/local/lsws/admin/conf @@ -51,6 +42,7 @@ services: TZ: ${TimeZone} networks: - default + command: apt install -y python3 zsh git phpmyadmin: image: bitnami/phpmyadmin:5.2.0-debian-11-r43 ports: diff --git a/docker.Dockerfile b/docker.Dockerfile new file mode 100644 index 0000000..1002c67 --- /dev/null +++ b/docker.Dockerfile @@ -0,0 +1,3 @@ +FROM ubuntu +RUN apt-get install python3 +WORKDIR /var/