Define unique dev .env file

This commit is contained in:
Alejandro Celaya 2024-10-20 12:35:03 +02:00
parent 582033ceb3
commit b991b1699e
3 changed files with 5 additions and 6 deletions

2
.gitignore vendored
View file

@ -15,4 +15,4 @@ docs/mercure.html
docker-compose.override.yml
.phpunit.result.cache
docs/swagger/swagger-inlined.json
shlink-dev.local.env
shlink-dev.env

View file

@ -36,7 +36,6 @@ services:
DEFAULT_DOMAIN: localhost:8000
env_file:
- path: shlink-dev.env
- path: shlink-dev.local.env
required: false
extra_hosts:
- 'host.docker.internal:host-gateway'
@ -66,7 +65,6 @@ services:
DEFAULT_DOMAIN: localhost:8800
env_file:
- path: shlink-dev.env
- path: shlink-dev.local.env
required: false
extra_hosts:
- 'host.docker.internal:host-gateway'

View file

@ -1,5 +1,6 @@
LC_ALL=C
#APP_ENV=dev
#GEOLITE_LICENSE_KEY=
# URL shortener
IS_HTTPS_ENABLED=false
@ -9,7 +10,7 @@ DB_DRIVER=mysql
DB_USER=root
DB_PASSWORD=root
DB_NAME=shlink
# DB_NAME=shlink_foo
#DB_NAME=shlink_foo
DB_HOST=shlink_db_mysql
# Database - Maria
@ -43,8 +44,8 @@ DB_HOST=shlink_db_mysql
# 4. Go to http://localhost:8003/index.php?module=UsersManager&action=userSecurity, scroll down, click
# "Create new token" and once generated, paste the token into the `MATOMO_API_TOKEN` var below.
# 5. Copy the config below and paste it in a new shlink-dev.local.env file.
#MATOMO_ENABLED=false
#MATOMO_BASE_URL=http://shlink_matomo
MATOMO_ENABLED=false
MATOMO_BASE_URL=http://shlink_matomo
#MATOMO_SITE_ID=
#MATOMO_API_TOKEN=