Depend on actual versions for shlink packages

This commit is contained in:
Alejandro Celaya 2024-10-27 08:36:57 +01:00
parent 0c3c7ff3b2
commit 99639b9844
6 changed files with 7 additions and 40 deletions

1
.gitattributes vendored
View file

@ -13,7 +13,6 @@
.travis.yml export-ignore .travis.yml export-ignore
build.sh export-ignore build.sh export-ignore
CHANGELOG.md export-ignore CHANGELOG.md export-ignore
docker-compose.override.yml.dist export-ignore
docker-compose.yml export-ignore docker-compose.yml export-ignore
indocker export-ignore indocker export-ignore
phpcs.xml export-ignore phpcs.xml export-ignore

1
.gitignore vendored
View file

@ -12,6 +12,5 @@ data/GeoLite2-City.*
data/infra/matomo data/infra/matomo
docs/swagger-ui* docs/swagger-ui*
docs/mercure.html docs/mercure.html
docker-compose.override.yml
.phpunit.result.cache .phpunit.result.cache
docs/swagger/swagger-inlined.json docs/swagger/swagger-inlined.json

View file

@ -24,12 +24,6 @@ Then you will have to follow these steps:
The `shlink_dev_env.php` file is gitignored, so you can customize it as you want. For example, by adding your own GeoLite license key. The `shlink_dev_env.php` file is gitignored, so you can customize it as you want. For example, by adding your own GeoLite license key.
* Do the same with the `docker-compose.override.yml.dist`:
```
cp docker-compose.override.yml.dist docker-compose.override.yml
```
* Start-up the project by running `docker compose up`. * Start-up the project by running `docker compose up`.
The first time this command is run, it will create several containers that are used during development, so it may take some time. The first time this command is run, it will create several containers that are used during development, so it may take some time.

View file

@ -44,12 +44,12 @@
"pagerfanta/core": "^3.8", "pagerfanta/core": "^3.8",
"ramsey/uuid": "^4.7", "ramsey/uuid": "^4.7",
"shlinkio/doctrine-specification": "^2.1.1", "shlinkio/doctrine-specification": "^2.1.1",
"shlinkio/shlink-common": "dev-main#16d19b7 as 6.4", "shlinkio/shlink-common": "^6.4",
"shlinkio/shlink-config": "^3.3", "shlinkio/shlink-config": "^3.3",
"shlinkio/shlink-event-dispatcher": "^4.1", "shlinkio/shlink-event-dispatcher": "^4.1",
"shlinkio/shlink-importer": "^5.3.2", "shlinkio/shlink-importer": "^5.3.2",
"shlinkio/shlink-installer": "^9.2", "shlinkio/shlink-installer": "^9.2",
"shlinkio/shlink-ip-geolocation": "dev-main#6f35bd4 as 4.1", "shlinkio/shlink-ip-geolocation": "^4.1",
"shlinkio/shlink-json": "^1.1", "shlinkio/shlink-json": "^1.1",
"spiral/roadrunner": "^2024.1", "spiral/roadrunner": "^2024.1",
"spiral/roadrunner-cli": "^2.6", "spiral/roadrunner-cli": "^2.6",

View file

@ -1,30 +0,0 @@
services:
shlink_php:
user: 1000:1000
volumes:
- /etc/passwd:/etc/passwd:ro
- /etc/group:/etc/group:ro
shlink_roadrunner:
user: 1000:1000
volumes:
- /etc/passwd:/etc/passwd:ro
- /etc/group:/etc/group:ro
shlink_db_mysql:
user: 1000:1000
volumes:
- /etc/passwd:/etc/passwd:ro
- /etc/group:/etc/group:ro
shlink_db_postgres:
user: 1000:1000
volumes:
- /etc/passwd:/etc/passwd:ro
- /etc/group:/etc/group:ro
shlink_db_maria:
user: 1000:1000
volumes:
- /etc/passwd:/etc/passwd:ro
- /etc/group:/etc/group:ro

View file

@ -13,6 +13,7 @@ services:
shlink_php: shlink_php:
container_name: shlink_php container_name: shlink_php
user: 1000:1000
build: build:
context: . context: .
dockerfile: ./data/infra/php.Dockerfile dockerfile: ./data/infra/php.Dockerfile
@ -40,6 +41,7 @@ services:
shlink_roadrunner: shlink_roadrunner:
container_name: shlink_roadrunner container_name: shlink_roadrunner
user: 1000:1000
build: build:
context: . context: .
dockerfile: ./data/infra/roadrunner.Dockerfile dockerfile: ./data/infra/roadrunner.Dockerfile
@ -66,6 +68,7 @@ services:
shlink_db_mysql: shlink_db_mysql:
container_name: shlink_db_mysql container_name: shlink_db_mysql
user: 1000:1000
image: mysql:8.0 image: mysql:8.0
ports: ports:
- "3307:3306" - "3307:3306"
@ -78,6 +81,7 @@ services:
shlink_db_postgres: shlink_db_postgres:
container_name: shlink_db_postgres container_name: shlink_db_postgres
user: 1000:1000
image: postgres:16.3-alpine image: postgres:16.3-alpine
ports: ports:
- "5434:5432" - "5434:5432"
@ -91,6 +95,7 @@ services:
shlink_db_maria: shlink_db_maria:
container_name: shlink_db_maria container_name: shlink_db_maria
user: 1000:1000
image: mariadb:10.7 image: mariadb:10.7
ports: ports:
- "3308:3306" - "3308:3306"