Skip to content

Commit 1a2cfae

Browse files
committed
Fix compose file
* use correct default verion * provide container_names for better handling in later steps
1 parent 8a86d66 commit 1a2cfae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/docker/docker-compose.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: '3'
22
services:
33
phpipam:
4-
image: "phpipam/phpipam-www:v${PHPIPAM_VERSION:-1.4.4}"
4+
image: "phpipam/phpipam-www:${PHPIPAM_VERSION:-v1.4.4}"
55
ports:
66
- "${PHPIPAM_PORT:-443}:443"
77
environment:
@@ -11,6 +11,7 @@ services:
1111
IPAM_DATABASE_NAME: "phpipam"
1212
depends_on:
1313
- database
14+
container_name: phpipam_test_webserver
1415
database:
1516
image: mariadb:10.3.18
1617
ports:
@@ -20,3 +21,4 @@ services:
2021
MYSQL_USER: "phpipam"
2122
MYSQL_PASSWORD: "phpipamadmin"
2223
MYSQL_DATABASE: "phpipam"
24+
container_name: phpipam_test_db

0 commit comments

Comments
 (0)