version: "3.8"
services:
# PHP Service
php:
# image: php:7.4-apache
build: .
environment:
MYSQL_SERVER_MULTIURL: "mariadb" # set this to the name of the MariaDB service
MYSQL_PORT_MULTIURL: 3306
MYSQL_DB_MULTIURL: "multiurl"
MYSQL_USER_MULTIURL: "multiurl_db_public"
MYSQL_PASSWORD_MULTIURL: {INSERT HERE}
RECAPTCHA_SECRET_MULTIURL: {INSERT HERE}
ports:
- "{SELECT YOUR PORT}:80"
volumes:
- ./:/var/www/html/
# MariaDB Service
mariadb:
image: mariadb:10.11
environment:
MYSQL_RANDOM_ROOT_PASSWORD: "true"
MYSQL_DATABASE: "multiurl"
MYSQL_USER: "multiurl_db_public"
MYSQL_PASSWORD: {INSERT HERE}
volumes:
- mysqldata:/var/lib/mysql # ensures the database is persistent
- ./mysql-startup:/docker-entrypoint-initdb.d # contents of this runs on startup
# Volumes
volumes:
mysqldata: # this is managed by docker - to clear use docker exec -it multi-url-mariadb-1 bash
-
Notifications
You must be signed in to change notification settings - Fork 0
Combine multiple URLs into one short link.
License
sftgunner/Multi-URL
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Combine multiple URLs into one short link.
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published