2 Commits

Author SHA1 Message Date
f2491eb4b6 test 2025-03-13 13:05:25 +01:00
afdd64a831 wip 2025-03-13 13:05:25 +01:00
6 changed files with 35 additions and 25 deletions

View File

@ -7,15 +7,15 @@ jobs:
build:
runs-on: remote
steps:
- uses: actions/checkout@v4
- uses: docker/login-action@v1
- uses: https://git.simonis.lol/actions/checkout@v4
- uses: https://git.simonis.lol/actions/login@v1
with:
registry: registry.simonis.lol
registry: git.simonis.lol
username: ${{ vars.DOCKER_USER }}
password: ${{ vars.DOCKER_PASS }}
password: ${{ vars.DOCKER_PW }}
- 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
run: docker push registry.simonis.lol/sites/simonis.lol:latest
run: docker push git.simonis.lol/sites/simonis.lol:latest

View File

@ -1,5 +1,3 @@
FROM nginx:latest
FROM php:apache
COPY src /usr/share/nginx/html
CMD ["nginx", "-g", "daemon off;"]
COPY src/ /var/www/html

1
Dockerfile.dev Normal file
View File

@ -0,0 +1 @@
FROM php:apache

12
compose.yml Normal file
View 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'

View File

@ -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 {
height: 100%;
}
@ -49,11 +42,3 @@
0% { background-position: 0 0; }
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
View 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>