diff --git a/containers/docker/docker-compose-mariadb.yml b/containers/docker/docker-compose-mariadb.yml index ea76f8b429f4..988a45d9ed0b 100644 --- a/containers/docker/docker-compose-mariadb.yml +++ b/containers/docker/docker-compose-mariadb.yml @@ -16,7 +16,7 @@ services: pwpush: image: docker.io/pglombardo/pwpush:latest environment: - DATABASE_URL: 'mysql2://passwordpusher_user:passwordpusher_passwd@mysql:3306/passwordpusher_db' + DATABASE_URL: 'mysql2://passwordpusher_user:passwordpusher_passwd@db:3306/passwordpusher_db' ports: - "5100:5100" depends_on: diff --git a/containers/docker/docker-compose-mysql.yml b/containers/docker/docker-compose-mysql.yml index 792d84fe0756..a4a1de74bc37 100644 --- a/containers/docker/docker-compose-mysql.yml +++ b/containers/docker/docker-compose-mysql.yml @@ -16,7 +16,7 @@ services: pwpush: image: docker.io/pglombardo/pwpush:latest environment: - DATABASE_URL: 'mysql2://passwordpusher_user:passwordpusher_passwd@mysql:3306/passwordpusher_db' + DATABASE_URL: 'mysql2://passwordpusher_user:passwordpusher_passwd@db:3306/passwordpusher_db' ports: - "5100:5100" depends_on: