Last active
August 5, 2025 09:25
-
-
Save LeoColomb/a01c1ea652815b42bce424f48e0d9fa8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: yourls | |
services: | |
yourls: | |
image: ghcr.io/yourls/yourls | |
restart: always | |
depends_on: | |
- mysql | |
ports: | |
- 8080:8080 | |
environment: | |
YOURLS_DB_PASS: example | |
YOURLS_SITE: https://example.com | |
YOURLS_USER: example_username | |
YOURLS_PASS: example_password | |
mysql: | |
image: mysql | |
restart: always | |
environment: | |
MYSQL_ROOT_PASSWORD: example | |
MYSQL_DATABASE: yourls | |
volumes: | |
- db:/var/lib/mysql | |
volumes: | |
db: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment