Compare commits
2 Commits
main
...
feat/stuff
Author | SHA1 | Date | |
---|---|---|---|
f2491eb4b6 | |||
afdd64a831 |
@ -7,15 +7,15 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: remote
|
runs-on: remote
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: https://git.simonis.lol/actions/checkout@v4
|
||||||
- uses: docker/login-action@v1
|
- uses: https://git.simonis.lol/actions/login@v1
|
||||||
with:
|
with:
|
||||||
registry: registry.simonis.lol
|
registry: git.simonis.lol
|
||||||
username: ${{ vars.DOCKER_USER }}
|
username: ${{ vars.DOCKER_USER }}
|
||||||
password: ${{ vars.DOCKER_PASS }}
|
password: ${{ vars.DOCKER_PW }}
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
run: docker build -t registry.simonis.lol/sites/simonis.lol:latest .
|
run: docker build -t git.simonis.lol/sites/simonis.lol:latest .
|
||||||
|
|
||||||
- name: push
|
- name: push
|
||||||
run: docker push registry.simonis.lol/sites/simonis.lol:latest
|
run: docker push git.simonis.lol/sites/simonis.lol:latest
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
FROM nginx:latest
|
FROM php:apache
|
||||||
|
|
||||||
COPY src /usr/share/nginx/html
|
COPY src/ /var/www/html
|
||||||
|
|
||||||
CMD ["nginx", "-g", "daemon off;"]
|
|
||||||
|
1
Dockerfile.dev
Normal file
1
Dockerfile.dev
Normal file
@ -0,0 +1 @@
|
|||||||
|
FROM php:apache
|
12
compose.yml
Normal file
12
compose.yml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
services:
|
||||||
|
app:
|
||||||
|
container_name: simonis.lol
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile.dev
|
||||||
|
restart: none
|
||||||
|
ports:
|
||||||
|
- '8080:80'
|
||||||
|
volumes:
|
||||||
|
- './src:/var/www/html'
|
||||||
|
|
@ -1,10 +1,3 @@
|
|||||||
<!doctype html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
<title>⚠️</title>
|
|
||||||
<style>
|
|
||||||
html, body {
|
html, body {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
@ -49,11 +42,3 @@
|
|||||||
0% { background-position: 0 0; }
|
0% { background-position: 0 0; }
|
||||||
100% { background-position: -4rem 0; } /* Moves further to ensure smooth loop */
|
100% { background-position: -4rem 0; } /* Moves further to ensure smooth loop */
|
||||||
}
|
}
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<main>
|
|
||||||
<h1>Our website is under construction.</h1>
|
|
||||||
</main>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
14
src/index.php
Normal file
14
src/index.php
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<title>⚠️</title>
|
||||||
|
<link rel="stylesheet" type="text/css" href="/assets/style.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<main>
|
||||||
|
<h1>Our website is under construction.</h1>
|
||||||
|
</main>
|
||||||
|
</body>
|
||||||
|
</html>
|
Reference in New Issue
Block a user