1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/yourls/docker-compose.yml

29 lines
558 B
YAML
Raw Normal View History

2020-06-02 10:40:14 +02:00
version: '3.8'
2019-02-12 12:28:09 +02:00
services:
yourls:
2021-08-27 08:46:13 +02:00
image: yourls:1.8
2019-02-12 12:28:09 +02:00
ports:
- "8080:80"
environment:
- YOURLS_DB_HOST=mysql
- YOURLS_DB_USER=root
- YOURLS_DB_PASS=root
- YOURLS_DB_NAME=yourls
- YOURLS_USER=admin
- YOURLS_PASS=admin
- YOURLS_SITE=https://yourls.easypi.pro
depends_on:
- mysql
2020-06-02 10:40:14 +02:00
restart: unless-stopped
2019-02-12 12:28:09 +02:00
mysql:
image: mysql:5.7
volumes:
- ./data:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=yourls
2020-06-02 10:40:14 +02:00
restart: unless-stopped