Browse Source

changes

master
Your Name 3 years ago
parent
commit
9e56e27dff
3 changed files with 11 additions and 3 deletions
  1. +3
    -0
      app/Dockerfile
  2. +3
    -0
      app/newapache2conf
  3. +5
    -3
      docker-compose.yml

+ 3
- 0
app/Dockerfile View File

@ -30,6 +30,7 @@ ENV APACHE_PID_FILE /var/run/apache2.pid
ENV APACHE_RUN_DIR /var/www/html/
ENV APACHE_LOCK_DIR /var/lock/apache2
WORKDIR /tmp
RUN curl -LO https://sourceforge.net/projects/zencart/files/CURRENT%20-%20Zen%20Cart%201.5.x%20Series/zen-cart-v1.5.7c-03052021.zip/download \
&& unzip /tmp/download \
@ -48,4 +49,6 @@ RUN rm /var/www/html/index.html
COPY ./newapache2conf /etc/apache2/apache2.conf
VOLUME /var/www/html
CMD ["/usr/sbin/apache2", "-D", "FOREGROUND"]

+ 3
- 0
app/newapache2conf View File

@ -225,3 +225,6 @@ IncludeOptional conf-enabled/*.conf
IncludeOptional sites-enabled/*.conf
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet

+ 5
- 3
docker-compose.yml View File

@ -3,6 +3,8 @@ services:
z157:
build: ./app/
container_name: zencart_157c
volumes:
- ./html:/var/www/html
ports:
- "80:80"
- "443:443"
@ -14,9 +16,9 @@ services:
volumes:
- ./dbdata:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: ROOTPW440022
MYSQL_USER: userOK
MYSQL_PASSWORD: better2pass1
MYSQL_ROOT_PASSWORD: ROOTPW
MYSQL_USER: user
MYSQL_PASSWORD: pass
MYSQL_DATABASE: zencart
ports:
- "3306:3306"

Loading…
Cancel
Save