Skip to content

Commit

Permalink
test registry
Browse files Browse the repository at this point in the history
  • Loading branch information
geryonghost committed Dec 13, 2023
1 parent fe4e9a6 commit 1c0887a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
platforms: linux/arm64
push: true
# tags: localhost:5000/comtily:${{ github.sha }}
tags: 192.168.4.201:5000/comtily:${{ github.sha }}
tags: docker.comtily.com:5000/comtily:${{ github.sha }}

- name: Deploy new image
uses: actions-hub/kubectl@master
Expand Down
1 change: 1 addition & 0 deletions kubernetes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ dev.itsweatheroutside.com
```
127.0.0.1 dev.notscrapyet.com
127.0.0.1 dev.itsweatheroutside.com
192.168.4.201 docker.comtily.com
```


18 changes: 9 additions & 9 deletions static/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
FROM ubuntu as base

RUN apt-get update && \
apt-get install -y apache2 && \
apt-get install -y apache2-utils && \
apt-get clean
# RUN apt-get update && \
# apt-get install -y apache2 && \
# apt-get install -y apache2-utils && \
# apt-get clean


RUN echo "Listen 8080" > /etc/apache2/ports.conf && \
echo "<VirtualHost *:8080>" > /etc/apache2/sites-available/000-default.conf && \
echo " ServerName www.comtily.com" >> /etc/apache2/sites-available/000-default.conf && \
echo " DocumentRoot /var/www/html" >> /etc/apache2/sites-available/000-default.conf && \
echo "</VirtualHost>" >> /etc/apache2/sites-available/000-default.conf
# RUN echo "Listen 8080" > /etc/apache2/ports.conf && \
# echo "<VirtualHost *:8080>" > /etc/apache2/sites-available/000-default.conf && \
# echo " ServerName www.comtily.com" >> /etc/apache2/sites-available/000-default.conf && \
# echo " DocumentRoot /var/www/html" >> /etc/apache2/sites-available/000-default.conf && \
# echo "</VirtualHost>" >> /etc/apache2/sites-available/000-default.conf

WORKDIR /var/www/html

Expand Down

0 comments on commit 1c0887a

Please sign in to comment.