Rename role for intersect docker applications

This commit is contained in:
Jake Howard
2020-04-26 13:56:26 +01:00
parent 05c7690b83
commit 92c85904bd
54 changed files with 1 additions and 1 deletions

View File

@ -0,0 +1,33 @@
version: "2.3"
services:
yourls:
image: yourls:1.7.9-apache
container_name: yourls
restart: unless-stopped
depends_on:
- mysql
environment:
- YOURLS_DB_PASS=yourls
- YOURLS_DB_USER=yourls
- YOURLS_USER=jake
- YOURLS_PASS={{ yourls.user_password }}
- YOURLS_SITE=https://0rng.one
volumes:
- ./index.html:/var/www/html/index.html
labels:
- "traefik.enable=true"
- "traefik.http.routers.yourls.rule=Host(`go.theorangeone.net`) || Host(`0rng.one`)"
- "traefik.http.routers.yourls.tls=true"
- "traefik.http.routers.yourls.tls.certresolver=le"
mysql:
image: mariadb:10.4
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=yourls
- MYSQL_USER=yourls
- MYSQL_PASSWORD=yourls
volumes:
- ./mariadb:/config
restart: unless-stopped

View File

@ -0,0 +1,8 @@
<html>
<head>
<meta http-equiv="refresh" content="0; url=/admin/" />
</head>
<body>
<h1>Redirecting to admin...</h1>
</body>
</html>